summaryrefslogtreecommitdiffstats
path: root/mysql-openssl.patch
blob: bcdc1d2b3244a4fd873c115a8cc99431d63b3d45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- mysql-5.5.31/vio/viossl.c~	2013-03-25 14:14:58.000000000 +0100
+++ mysql-5.5.31/vio/viossl.c	2013-04-18 16:58:38.552557538 +0200
@@ -172,8 +172,10 @@
   SSL_SESSION_set_timeout(SSL_get_session(ssl), timeout);
   SSL_set_fd(ssl, vio->sd);
 #ifndef HAVE_YASSL
+#ifdef SSL_OP_NO_COMPRESSION
   SSL_set_options(ssl, SSL_OP_NO_COMPRESSION);
 #endif
+#endif
 
   if ((r= connect_accept_func(ssl)) < 1)
   {