summaryrefslogtreecommitdiff
path: root/patches/source/mysql/mysql.openssl0.diff
diff options
context:
space:
mode:
Diffstat (limited to 'patches/source/mysql/mysql.openssl0.diff')
-rw-r--r--patches/source/mysql/mysql.openssl0.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/source/mysql/mysql.openssl0.diff b/patches/source/mysql/mysql.openssl0.diff
new file mode 100644
index 00000000..42885ee5
--- /dev/null
+++ b/patches/source/mysql/mysql.openssl0.diff
@@ -0,0 +1,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)
+ {