blob: 3fd5e7740a692ac11b16ddc9f0bb091c34e7a722 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- vio/viossl.c.orig 2015-06-20 10:21:51 UTC
+++ vio/viossl.c
@@ -392,8 +392,10 @@ static int ssl_do(struct st_VioSSLFd *pt
SSL_SESSION_set_timeout(SSL_get_session(ssl), timeout);
SSL_set_fd(ssl, sd);
#ifndef HAVE_YASSL
+#ifdef SSL_OP_NO_COMPRESSION
SSL_set_options(ssl, SSL_OP_NO_COMPRESSION);
#endif
+#endif
/*
Since yaSSL does not support non-blocking send operations, use
|