summaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd25/files/patch-imtest__imtest.c
blob: 0ae1041e4d5bf9ff66d0b2d29234d7c8e150408d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- imtest/imtest.c.orig	2015-11-30 06:30:33 UTC
+++ imtest/imtest.c
@@ -503,7 +503,9 @@ static int tls_init_clientengine(int ver
     off |= SSL_OP_ALL;            /* Work around all known bugs */
     off |= SSL_OP_NO_SSLv2;       /* Disable insecure SSLv2 */
     off |= SSL_OP_NO_SSLv3;       /* Disable insecure SSLv3 */
+#if defined(SSL_OP_NO_COMPRESSION)
     off |= SSL_OP_NO_COMPRESSION; /* Disable TLS compression */
+#endif
     SSL_CTX_set_options(tls_ctx, off);
     SSL_CTX_set_info_callback(tls_ctx, apps_ssl_info_callback);