summaryrefslogtreecommitdiff
path: root/vio/viossl.c
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-05-07 18:26:22 +0200
committerSergei Golubchik <sergii@pisem.net>2013-05-07 18:26:22 +0200
commite0a08c567a028db406ebf69ece8b3210cba2af0c (patch)
tree4e5655ebc320dc033ab2936086945a22edff12f4 /vio/viossl.c
parentb381cf843c841151f96541b19bd753cd3bbae326 (diff)
downloadmariadb-git-e0a08c567a028db406ebf69ece8b3210cba2af0c.tar.gz
Compilation warnings.
openssl compilation problem.
Diffstat (limited to 'vio/viossl.c')
-rw-r--r--vio/viossl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vio/viossl.c b/vio/viossl.c
index 88f23df6842..ad20a6ab5c3 100644
--- a/vio/viossl.c
+++ b/vio/viossl.c
@@ -183,7 +183,7 @@ static int ssl_do(struct st_VioSSLFd *ptr, Vio *vio, long timeout,
SSL_clear(ssl);
SSL_SESSION_set_timeout(SSL_get_session(ssl), timeout);
SSL_set_fd(ssl, vio->sd);
-#ifndef HAVE_YASSL
+#if !defined(HAVE_YASSL) && defined(SSL_OP_NO_COMPRESSION)
SSL_set_options(ssl, SSL_OP_NO_COMPRESSION);
#endif