summaryrefslogtreecommitdiffstats
path: root/extra/libmsn/openssl1.patch
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-04-27 20:19:23 +0200
committertnut <thierryn1 at hispeed dot ch>2010-04-27 20:19:23 +0200
commit56f209879968a42c9d02c342709a8f01ea04a365 (patch)
treead81945a1108b0a104242eba1bc49ea4612cfa3d /extra/libmsn/openssl1.patch
parente48cbd7b77b7c55ad80871aff49544cd7d0104c6 (diff)
downloadnutyx-extra-56f209879968a42c9d02c342709a8f01ea04a365.tar.gz
nutyx-extra-56f209879968a42c9d02c342709a8f01ea04a365.tar.bz2
nutyx-extra-56f209879968a42c9d02c342709a8f01ea04a365.tar.xz
nutyx-extra-56f209879968a42c9d02c342709a8f01ea04a365.zip
maj libmsn#4.1-1
Diffstat (limited to 'extra/libmsn/openssl1.patch')
-rw-r--r--extra/libmsn/openssl1.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/libmsn/openssl1.patch b/extra/libmsn/openssl1.patch
new file mode 100644
index 000000000..0ff7de898
--- /dev/null
+++ b/extra/libmsn/openssl1.patch
@@ -0,0 +1,17 @@
+--- libmsn-4.1/msntest/msntest.cpp~ 2010-04-01 15:05:13.248056050 +0200
++++ libmsn-4.1/msntest/msntest.cpp 2010-04-01 15:07:18.938878993 +0200
+@@ -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);