1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

Change default for SSLCompression to off, as compression

causes security issues in most setups


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1400700 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Fritsch
2012-10-21 19:15:43 +00:00
parent 0b12da4973
commit f55dd489b1
3 changed files with 14 additions and 5 deletions

View File

@@ -656,7 +656,7 @@ static void ssl_init_ctx_protocol(server_rec *s,
#ifndef OPENSSL_NO_COMP
if (sc->compression == FALSE) {
if (sc->compression != TRUE) {
#ifdef SSL_OP_NO_COMPRESSION
/* OpenSSL >= 1.0 only */
SSL_CTX_set_options(ctx, SSL_OP_NO_COMPRESSION);