summaryrefslogtreecommitdiff
path: root/net-im/libmsn/files/patch-msntest__msntest.cpp
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2010-05-13 12:35:05 +0000
committerDima Panov <fluffy@FreeBSD.org>2010-05-13 12:35:05 +0000
commit904f828c2c79b23f0b66c8e6ca3941b42f8c5f5e (patch)
tree8e328a9719f59eb0d69357130af53d1173e75b31 /net-im/libmsn/files/patch-msntest__msntest.cpp
parentFix dependencies. (diff)
- net-im/libmsn: update to 4.1 release and unbroke with ports openssl
PR: 146465 Submitted by: myself, maintainer via mail Approved by: Shane Bell (maintainer)
Notes
Notes: svn path=/head/; revision=254259
Diffstat (limited to 'net-im/libmsn/files/patch-msntest__msntest.cpp')
-rw-r--r--net-im/libmsn/files/patch-msntest__msntest.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/net-im/libmsn/files/patch-msntest__msntest.cpp b/net-im/libmsn/files/patch-msntest__msntest.cpp
new file mode 100644
index 000000000000..b4dff286e5b7
--- /dev/null
+++ b/net-im/libmsn/files/patch-msntest__msntest.cpp
@@ -0,0 +1,17 @@
+--- msntest/msntest.cpp 2010/01/22 12:45:14 119
++++ msntest/msntest.cpp 2010/05/03 19:33:50 120
+@@ -259,7 +259,13 @@
+ if(mySocketsSsl[i].isSSL && !mySocketsSsl[i].isConnected)
+ {
+ BIO *bio_socket_new;
+- SSL_METHOD *meth=NULL;
++
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L
++ const SSL_METHOD *meth=NULL;
++#else
++ SSL_METHOD *meth=NULL;
++#endif
++
+ meth=SSLv23_client_method();
+ SSLeay_add_ssl_algorithms();
+ mySocketsSsl[i].ctx = SSL_CTX_new(meth);