aboutsummaryrefslogtreecommitdiff
path: root/irc/irssi
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2009-08-17 14:49:19 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2009-08-17 14:49:19 +0000
commita116031b9294cea224a2ed2a0642a5ba9ef5472f (patch)
tree7508772d932aa0524296f8f71e4682dbc86fefe2 /irc/irssi
parentdf9e31e3adbcefd39ba4a942f56db599ae9398bd (diff)
downloadports-a116031b9294cea224a2ed2a0642a5ba9ef5472f.tar.gz
ports-a116031b9294cea224a2ed2a0642a5ba9ef5472f.zip
Notes
Diffstat (limited to 'irc/irssi')
-rw-r--r--irc/irssi/Makefile2
-rw-r--r--irc/irssi/files/patch-openssl.c29
2 files changed, 30 insertions, 1 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile
index e004f19099fc..3cb37e754b66 100644
--- a/irc/irssi/Makefile
+++ b/irc/irssi/Makefile
@@ -7,7 +7,7 @@
PORTNAME= irssi
PORTVERSION= 0.8.14
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES?= irc
MASTER_SITES= http://mirror.irssi.org/
diff --git a/irc/irssi/files/patch-openssl.c b/irc/irssi/files/patch-openssl.c
new file mode 100644
index 000000000000..740de1a3714c
--- /dev/null
+++ b/irc/irssi/files/patch-openssl.c
@@ -0,0 +1,29 @@
+--- src/core/network-openssl.c.orig 2009-08-17 09:27:52.000000000 +0800
++++ src/core/network-openssl.c 2009-08-17 09:28:14.000000000 +0800
+@@ -230,7 +230,7 @@
+ SSL_library_init();
+ SSL_load_error_strings();
+
+- ssl_ctx = SSL_CTX_new(SSLv23_client_method());
++ ssl_ctx = SSL_CTX_new(SSLv3_client_method());
+ if(!ssl_ctx)
+ {
+ g_error("Initialization of the SSL library failed");
+@@ -259,7 +259,7 @@
+
+ if (mycert && *mycert) {
+ char *scert = NULL, *spkey = NULL;
+- if ((ctx = SSL_CTX_new(SSLv23_client_method())) == NULL) {
++ if ((ctx = SSL_CTX_new(SSLv3_client_method())) == NULL) {
+ g_error("Could not allocate memory for SSL context");
+ return NULL;
+ }
+@@ -279,7 +279,7 @@
+ if ((cafile && *cafile) || (capath && *capath)) {
+ char *scafile = NULL;
+ char *scapath = NULL;
+- if (! ctx && (ctx = SSL_CTX_new(SSLv23_client_method())) == NULL) {
++ if (! ctx && (ctx = SSL_CTX_new(SSLv3_client_method())) == NULL) {
+ g_error("Could not allocate memory for SSL context");
+ return NULL;
+ }