Disable RC4
Origin: http://git.savannah.gnu.org/cgit/guix.git/commit/?id=62339e2d493bf87a3aabe12e45458581e9705d83
This commit is contained in:
committed by
Tatsuya Kinoshita
parent
0f99d52d7b
commit
631784149d
2
url.c
2
url.c
@@ -327,7 +327,7 @@ openSSLHandle(int sock, char *hostname, char **p_cert)
|
||||
SSL_load_error_strings();
|
||||
if (!(ssl_ctx = SSL_CTX_new(SSLv23_client_method())))
|
||||
goto eend;
|
||||
SSL_CTX_set_cipher_list(ssl_ctx, "DEFAULT:!LOW:!EXP");
|
||||
SSL_CTX_set_cipher_list(ssl_ctx, "DEFAULT:!LOW:!RC4:!EXP");
|
||||
option = SSL_OP_ALL;
|
||||
if (ssl_forbid_method) {
|
||||
if (strchr(ssl_forbid_method, '2'))
|
||||
|
Reference in New Issue
Block a user