forked from Lainports/freebsd-ports
- 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
18 lines
893 B
C
18 lines
893 B
C
# 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__ */
|