mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
bfbdc2db7c
svn path=/nixpkgs/trunk/; revision=22805
18 lines
702 B
Diff
18 lines
702 B
Diff
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);
|