freebsd-ports/www/apache22/files/patch-modules__ssl__ssl_engine_vars.c
Olli Hauer 1499cb2503 - re add libressl patches (lost by last cleanup commit)
- no version bump, libressl is not the default ssl

with hat: apache

PR:			202047
Submitted by:		mcdouga9 _at_ egr.msu.edu
Patch Provided by:	phil.stone _at_ gmx.com
2015-08-03 21:10:29 +00:00

11 lines
411 B
C

--- modules/ssl/ssl_engine_vars.c.orig 2013-02-12 11:51:17 UTC
+++ modules/ssl/ssl_engine_vars.c
@@ -832,7 +832,7 @@ static char *ssl_var_lookup_ssl_compress
{
char *result = "NULL";
#ifdef OPENSSL_VERSION_NUMBER
-#if (OPENSSL_VERSION_NUMBER >= 0x00908000)
+#if (OPENSSL_VERSION_NUMBER >= 0x00908000) && !defined(OPENSSL_NO_COMP)
SSL_SESSION *pSession = SSL_get_session(ssl);
if (pSession) {