summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArno Töll <arno@debian.org>2012-10-22 22:23:01 +0200
committerArno Töll <arno@debian.org>2012-10-22 22:23:01 +0200
commitd41576036cd95c8a452f866678d60149d84554e7 (patch)
tree39bdc4bc0ac3f5563aaae9fb1ac80b2db714c0fc
parent2c3a193756e899c82a860c5572b737451435c6e3 (diff)
downloadapache2-d41576036cd95c8a452f866678d60149d84554e7.tar.gz
Disable compression by default, as upstream commit #1400700 did as well
-rw-r--r--debian/patches/disable-ssl-compression.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/patches/disable-ssl-compression.patch b/debian/patches/disable-ssl-compression.patch
index fa654ed5..89839168 100644
--- a/debian/patches/disable-ssl-compression.patch
+++ b/debian/patches/disable-ssl-compression.patch
@@ -63,12 +63,12 @@ Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=674142
+#ifdef SSL_OP_NO_COMPRESSION
+ /* OpenSSL >= 1.0 only */
-+ if (sc->compression == FALSE) {
++ if (sc->compression != TRUE) {
+ SSL_CTX_set_options(ctx, SSL_OP_NO_COMPRESSION);
+ }
+#elif OPENSSL_VERSION_NUMBER >= 0x00908000L
+ /* workaround for OpenSSL 0.9.8 */
-+ if (sc->compression == FALSE) {
++ if (sc->compression != TRUE) {
+ SSL_CTX * tls_ctx;
+ STACK_OF(SSL_COMP)* comp_methods;
+ comp_methods = SSL_COMP_get_compression_methods();