Skip to content

Instantly share code, notes, and snippets.

@jonyesno
Created November 14, 2011 18:19
Show Gist options
  • Save jonyesno/1364670 to your computer and use it in GitHub Desktop.
Save jonyesno/1364670 to your computer and use it in GitHub Desktop.
Patch to stop irssi from using SSLv2 ciphers
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