diff options
Diffstat (limited to 'www/apache24/files/patch-modules_ssl_ssl__engine__kernel.c')
-rw-r--r-- | www/apache24/files/patch-modules_ssl_ssl__engine__kernel.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/apache24/files/patch-modules_ssl_ssl__engine__kernel.c b/www/apache24/files/patch-modules_ssl_ssl__engine__kernel.c new file mode 100644 index 000000000000..4c5f19034716 --- /dev/null +++ b/www/apache24/files/patch-modules_ssl_ssl__engine__kernel.c @@ -0,0 +1,11 @@ +--- modules/ssl/ssl_engine_kernel.c.orig 2017-05-02 11:01:17 UTC ++++ modules/ssl/ssl_engine_kernel.c +@@ -1733,7 +1733,7 @@ static void modssl_proxy_info_log(conn_r + * so we need to increment here to prevent them from + * being freed. + */ +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + #define modssl_set_cert_info(info, cert, pkey) \ + *cert = info->x509; \ + CRYPTO_add(&(*cert)->references, +1, CRYPTO_LOCK_X509); \ |