Created
November 14, 2011 18:19
-
-
Save jonyesno/1364670 to your computer and use it in GitHub Desktop.
Patch to stop irssi from using SSLv2 ciphers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ur irssi-0.8.15.orig/src/core/network-openssl.c irssi-0.8.15/src/core/network-openssl.c | |
--- irssi-0.8.15.orig/src/core/network-openssl.c 2010-04-03 17:19:38.000000000 +0100 | |
+++ irssi-0.8.15/src/core/network-openssl.c 2011-10-24 14:51:40.000000000 +0100 | |
@@ -401,7 +401,7 @@ | |
if(!(fd = g_io_channel_unix_get_fd(handle))) | |
return NULL; | |
- ctx = SSL_CTX_new(SSLv23_client_method()); | |
+ ctx = SSL_CTX_new(SSLv3_client_method()); | |
if (ctx == NULL) { | |
g_error("Could not allocate memory for SSL context"); | |
return NULL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment