summaryrefslogtreecommitdiff
path: root/vchat-ssl.c
diff options
context:
space:
mode:
authorAndreas Kotes <count@flatline.de>2014-04-15 13:33:13 +0200
committerAndreas Kotes <count@flatline.de>2014-04-15 13:33:13 +0200
commitf98143f4d2774dc06b23655fd369075247aab4e9 (patch)
tree6e841e5846247157ceb2c4cf03d9770383880b53 /vchat-ssl.c
parent2cb919fee2df15cf82ec11fd32f59ef57436cd1b (diff)
disable RC4 explicitly
Diffstat (limited to 'vchat-ssl.c')
-rwxr-xr-xvchat-ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vchat-ssl.c b/vchat-ssl.c
index 986187f..e571d85 100755
--- a/vchat-ssl.c
+++ b/vchat-ssl.c
@@ -72,7 +72,7 @@ SSL_CTX * vc_create_sslctx( vc_x509store_t *vc_store )
72 store = NULL; 72 store = NULL;
73 /* Disable some insecure protocols explicitly */ 73 /* Disable some insecure protocols explicitly */
74 SSL_CTX_set_options(ctx, SSL_OP_ALL|SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3); 74 SSL_CTX_set_options(ctx, SSL_OP_ALL|SSL_OP_NO_SSLv2|SSL_OP_NO_SSLv3);
75 SSL_CTX_set_cipher_list(ctx, "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH"); 75 SSL_CTX_set_cipher_list(ctx, "ALL:!ADH:!LOW:!EXP:!MD5:!RC4:@STRENGTH");
76 76
77 SSL_CTX_set_verify_depth (ctx, 2); 77 SSL_CTX_set_verify_depth (ctx, 2);
78 78