You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2017/10/08 11:40:03 UTC
svn commit: r1811475 - /httpd/httpd/trunk/modules/ssl/ssl_engine_config.c
Author: ylavic
Date: Sun Oct 8 11:40:03 2017
New Revision: 1811475
URL: http://svn.apache.org/viewvc?rev=1811475&view=rev
Log:
mod_ssl: fix add_policy() w.r.t. OPENSSL_NO_COMP. PR 61592.
Proposed by: Bernard Spil <brnrd freebsd.org>
Reviewed by: ylavic
Modified:
httpd/httpd/trunk/modules/ssl/ssl_engine_config.c
Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_config.c?rev=1811475&r1=1811474&r2=1811475&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_config.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_config.c Sun Oct 8 11:40:03 2017
@@ -546,7 +546,9 @@ static void add_policy(apr_hash_t *polic
policy->dc->proxy->auth.cipher_suite = ciphers;
}
+#ifndef OPENSSL_NO_COMP
policy->sc->compression = compression ? TRUE : FALSE;
+#endif
policy->sc->session_tickets = session_tickets ? TRUE : FALSE;
policy->dc->proxy->auth.verify_mode = proxy_verify_mode;