mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
Bug#16235681: TURN OFF DEFAULT COMPRESSION WHILE USING
OPENSSL Description: Merge from 5.1.
This commit is contained in:
commit
02c7c2a68c
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue