summaryrefslogtreecommitdiff
path: root/www/apache22/files/patch-modules__ssl__ssl_util_ssl.c
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2015-08-03 21:10:29 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2015-08-03 21:10:29 +0000
commit1499cb250313599474c19c308deeb42cbecfb8d6 (patch)
treebbe7cc14641e09fbc3ba309bc836121ef8a29d1a /www/apache22/files/patch-modules__ssl__ssl_util_ssl.c
parentUpgrade to 0.9.30 (random listening port). (diff)
- re add libressl patches (lost by last cleanup commit)
- no version bump, libressl is not the default ssl with hat: apache PR: 202047 Submitted by: mcdouga9 _at_ egr.msu.edu Patch Provided by: phil.stone _at_ gmx.com
Diffstat (limited to 'www/apache22/files/patch-modules__ssl__ssl_util_ssl.c')
-rw-r--r--www/apache22/files/patch-modules__ssl__ssl_util_ssl.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/apache22/files/patch-modules__ssl__ssl_util_ssl.c b/www/apache22/files/patch-modules__ssl__ssl_util_ssl.c
new file mode 100644
index 000000000000..b3cdaea0f64e
--- /dev/null
+++ b/www/apache22/files/patch-modules__ssl__ssl_util_ssl.c
@@ -0,0 +1,14 @@
+--- modules/ssl/ssl_util_ssl.c.orig 2012-08-17 17:30:46 UTC
++++ modules/ssl/ssl_util_ssl.c
+@@ -492,7 +492,11 @@ BOOL SSL_X509_INFO_load_path(apr_pool_t
+ * format, possibly followed by a sequence of CA certificates that
+ * should be sent to the peer in the SSL Certificate message.
+ */
++#ifndef HAVE_SSL_CTX_USE_CERTIFICATE_CHAIN
+ int SSL_CTX_use_certificate_chain(
++#else
++int _SSL_CTX_use_certificate_chain(
++#endif
+ SSL_CTX *ctx, char *file, int skipfirst, modssl_read_bio_cb_fn *cb)
+ {
+ BIO *bio;