8
0
forked from pool/libircclient
Files
libircclient/libircclient-cipher-suite.diff
Joop Boonen 5bf2814405 Accepting request 401623 from home:worldcitizen:branches:devel:libraries:c_c++
cipher suite fix from ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH to EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH bnc#857151
- cipher suite fix from ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH to
  EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH
  bnc#857151

OBS-URL: https://build.opensuse.org/request/show/401623
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libircclient?expand=0&rev=13
2016-06-13 12:24:11 +00:00

13 lines
561 B
Diff

diff -Naur libircclient-1.9.orig/src/ssl.c libircclient-1.9/src/ssl.c
--- libircclient-1.9.orig/src/ssl.c 2013-11-05 17:37:29.983166000 +0100
+++ libircclient-1.9/src/ssl.c 2016-06-13 14:11:03.682176849 +0200
@@ -127,7 +127,7 @@
return LIBIRC_ERR_SSL_INIT_FAILED;
// Enable only strong ciphers
- if ( SSL_CTX_set_cipher_list( ssl_context, "ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH" ) != 1 )
+ if ( SSL_CTX_set_cipher_list( ssl_context, "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH" ) != 1 )
return LIBIRC_ERR_SSL_INIT_FAILED;
// Set the verification