14 lines
308 B
Diff
14 lines
308 B
Diff
|
--- src/openssl.c.orig
|
||
|
+++ src/openssl.c
|
||
|
@@ -248,6 +248,10 @@ ssl_init ()
|
||
|
/* Keep memory usage as low as possible */
|
||
|
SSL_CTX_set_mode (ssl_ctx, SSL_MODE_RELEASE_BUFFERS);
|
||
|
#endif
|
||
|
+#ifdef SSL_OP_NO_COMPRESSION
|
||
|
+ SSL_CTX_set_options(ssl_ctx, SSL_OP_NO_COMPRESSION);
|
||
|
+#endif
|
||
|
+
|
||
|
return true;
|
||
|
|
||
|
error:
|