openssl: set ciphers on client connections too

This commit is contained in:
Simon Arlott 2016-04-29 07:42:12 +01:00
parent 1cdf323be9
commit f9014791da
No known key found for this signature in database
GPG key ID: C8975F2043CA5D24

View file

@ -484,6 +484,7 @@ rb_setup_ssl_server(const char *cert, const char *keyfile, const char *dhfile, c
if (cipher_list != NULL)
{
SSL_CTX_set_cipher_list(ssl_server_ctx, cipher_list);
SSL_CTX_set_cipher_list(ssl_client_ctx, cipher_list);
}
return 1;