summaryrefslogtreecommitdiff
path: root/www/apache24/files/patch-modules__ssl__ssl_util_ssl.h
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2015-01-31 15:22:51 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2015-01-31 15:22:51 +0000
commit5391a9beb25ff182889d175356652b09d50248ac (patch)
treedcd30bc82233b25763d1750b23d08afd11943175 /www/apache24/files/patch-modules__ssl__ssl_util_ssl.h
parentUpdate WWW. Old URL no longer exists. (diff)
- update to 2.4.12
- change MPM backend from static to dynamic, but keep mpm_prefork for compatiblity with e.g. php modules - install dedicated MPM load file in case httpd was build with modular MPM (modules.d/000_mpm_prefork_fallback.conf) - disable SSLv3 and SSLv2 fallback in sample httpd-ssl-conf - use @sample macro instead EXAMPLESDIR - add some SSLCipherSuite examples for OpenSSL >= 1.0.x - add libressl support [1] - add pkg-install script (to handle new modular MPM build) - build now most all modules, so users using packages don't have to run a custom build for missing modules - fix suexec mode PR: 196139 [1] MFH: 2015Q1
Diffstat (limited to 'www/apache24/files/patch-modules__ssl__ssl_util_ssl.h')
-rw-r--r--www/apache24/files/patch-modules__ssl__ssl_util_ssl.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/apache24/files/patch-modules__ssl__ssl_util_ssl.h b/www/apache24/files/patch-modules__ssl__ssl_util_ssl.h
new file mode 100644
index 000000000000..6ff277270e71
--- /dev/null
+++ b/www/apache24/files/patch-modules__ssl__ssl_util_ssl.h
@@ -0,0 +1,18 @@
+# libressl support
+# https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196139
+# https://issues.apache.org/bugzilla/show_bug.cgi?id=57375
+
+--- modules/ssl/ssl_util_ssl.h.orig 2014-03-02 20:20:14 UTC
++++ modules/ssl/ssl_util_ssl.h
+@@ -69,7 +69,11 @@ BOOL SSL_X509_getIDs(apr_pool_t *
+ BOOL SSL_X509_match_name(apr_pool_t *, X509 *, const char *, BOOL, server_rec *);
+ BOOL SSL_X509_INFO_load_file(apr_pool_t *, STACK_OF(X509_INFO) *, const char *);
+ BOOL SSL_X509_INFO_load_path(apr_pool_t *, STACK_OF(X509_INFO) *, const char *);
++#ifndef HAVE_SSL_CTX_USE_CERTIFICATE_CHAIN
+ int SSL_CTX_use_certificate_chain(SSL_CTX *, char *, int, pem_password_cb *);
++#else
++int _SSL_CTX_use_certificate_chain(SSL_CTX *, char *, int, pem_password_cb *);
++#endif
+ char *SSL_SESSION_id2sz(unsigned char *, int, char *, int);
+
+ #endif /* __SSL_UTIL_SSL_H__ */