summaryrefslogtreecommitdiff
path: root/www/apache22/files/patch-modules__ssl__ssl_util_ssl.c
diff options
context:
space:
mode:
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..cf0888f0ee21
--- /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 19:30:46.000000000 +0200
++++ modules/ssl/ssl_util_ssl.c 2015-02-28 10:30:48.557501618 +0100
+@@ -492,7 +492,11 @@
+ * 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;