summaryrefslogtreecommitdiff
path: root/vio/viosslfactories.c
diff options
context:
space:
mode:
authorGeorg Richter <georg@mariadb.com>2018-06-18 19:06:55 +0200
committerSergei Golubchik <serg@mariadb.org>2018-06-21 10:15:27 +0200
commitb4db59ba47f7670c5ea90962e36afb9dede0d238 (patch)
treebc664d80c95ad68354d399c67700dbf95d4877ae /vio/viosslfactories.c
parent1db1340c0c5302e16c88528d89f583f4f1b7bc90 (diff)
downloadmariadb-git-b4db59ba47f7670c5ea90962e36afb9dede0d238.tar.gz
MDEV-15596 10.2 doesn't work with openssl 1.1.1
Diffstat (limited to 'vio/viosslfactories.c')
-rw-r--r--vio/viosslfactories.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vio/viosslfactories.c b/vio/viosslfactories.c
index 6358b976e16..fa02eb03caa 100644
--- a/vio/viosslfactories.c
+++ b/vio/viosslfactories.c
@@ -211,6 +211,7 @@ new_VioSSLFd(const char *key_file, const char *cert_file,
none of the provided ciphers could be selected
*/
if (cipher &&
+ SSL_CTX_set_ciphersuites(ssl_fd->ssl_context, cipher) == 0 &&
SSL_CTX_set_cipher_list(ssl_fd->ssl_context, cipher) == 0)
{
*error= SSL_INITERR_CIPHERS;