diff options
Diffstat (limited to 'net-libs/libmsn/files/libmsn-4.1-openssl-1.patch')
-rw-r--r-- | net-libs/libmsn/files/libmsn-4.1-openssl-1.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-libs/libmsn/files/libmsn-4.1-openssl-1.patch b/net-libs/libmsn/files/libmsn-4.1-openssl-1.patch new file mode 100644 index 000000000000..cdaecf7dc54d --- /dev/null +++ b/net-libs/libmsn/files/libmsn-4.1-openssl-1.patch @@ -0,0 +1,17 @@ +http://bugs.gentoo.org/328031 + +--- msntest/msntest.cpp ++++ msntest/msntest.cpp +@@ -259,7 +259,11 @@ + 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); |