blob: cdaecf7dc54dd0b22eb5be9ae719069c110e979c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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);
|