| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/mail/cyrus-imapd30/files/ |
Upload File : |
--- imap/tls.c.orig 2018-04-30 02:05:44 UTC
+++ imap/tls.c
@@ -734,7 +734,9 @@ EXPORTED int tls_init_serverengine(c
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
const char *tls_versions = config_getstring(IMAPOPT_TLS_VERSIONS);
@@ -1465,7 +1467,9 @@ HIDDEN 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(c_ctx, off);
SSL_CTX_set_info_callback(c_ctx, apps_ssl_info_callback);