openssl: set ciphers on client connections too
This commit is contained in:
parent
1cdf323be9
commit
f9014791da
1 changed files with 1 additions and 0 deletions
|
@ -484,6 +484,7 @@ rb_setup_ssl_server(const char *cert, const char *keyfile, const char *dhfile, c
|
||||||
if (cipher_list != NULL)
|
if (cipher_list != NULL)
|
||||||
{
|
{
|
||||||
SSL_CTX_set_cipher_list(ssl_server_ctx, cipher_list);
|
SSL_CTX_set_cipher_list(ssl_server_ctx, cipher_list);
|
||||||
|
SSL_CTX_set_cipher_list(ssl_client_ctx, cipher_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue