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
22 lines
846 B
C
22 lines
846 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_engine_rand.c.orig 2011-12-05 00:08:01 UTC
|
|
+++ modules/ssl/ssl_engine_rand.c
|
|
@@ -81,6 +81,7 @@ int ssl_rand_seed(server_rec *s, apr_poo
|
|
nDone += ssl_rand_feedfp(p, fp, pRandSeed->nBytes);
|
|
ssl_util_ppclose(s, p, fp);
|
|
}
|
|
+#ifdef HAVE_RAND_EGD
|
|
else if (pRandSeed->nSrc == SSL_RSSRC_EGD) {
|
|
/*
|
|
* seed in contents provided by the external
|
|
@@ -90,6 +91,7 @@ int ssl_rand_seed(server_rec *s, apr_poo
|
|
continue;
|
|
nDone += n;
|
|
}
|
|
+#endif
|
|
else if (pRandSeed->nSrc == SSL_RSSRC_BUILTIN) {
|
|
struct {
|
|
time_t t;
|