diff options
author | Harin Vadodaria <harin.vadodaria@oracle.com> | 2013-02-19 12:19:10 +0530 |
---|---|---|
committer | Harin Vadodaria <harin.vadodaria@oracle.com> | 2013-02-19 12:19:10 +0530 |
commit | 02c7c2a68c751e5c38ea472936e85e241aa90922 (patch) | |
tree | b33d0ad732f0046545b3a2627d1323b03c078090 | |
parent | ed23d8ab1043011a0a8ec46e1c472e6bb0198702 (diff) | |
parent | d1aeebd5928c3615d34f42f020c883144a645fff (diff) | |
download | mariadb-git-02c7c2a68c751e5c38ea472936e85e241aa90922.tar.gz |
Bug#16235681: TURN OFF DEFAULT COMPRESSION WHILE USING
OPENSSL
Description: Merge from 5.1.
-rw-r--r-- | vio/viossl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vio/viossl.c b/vio/viossl.c index e7ab7e4c6d1..f3da12b50c5 100644 --- a/vio/viossl.c +++ b/vio/viossl.c @@ -171,6 +171,9 @@ 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 + SSL_set_options(ssl, SSL_OP_NO_COMPRESSION); +#endif if ((r= connect_accept_func(ssl)) < 1) { |