Removed
Link Here
|
1 |
--- msntest/msntest.cpp 2010/01/22 12:45:14 119 |
2 |
+++ msntest/msntest.cpp 2010/05/03 19:33:50 120 |
3 |
@@ -259,7 +259,13 @@ |
4 |
if(mySocketsSsl[i].isSSL && !mySocketsSsl[i].isConnected) |
5 |
{ |
6 |
BIO *bio_socket_new; |
7 |
- SSL_METHOD *meth=NULL; |
8 |
+ |
9 |
+#if OPENSSL_VERSION_NUMBER >= 0x10000000L |
10 |
+ const SSL_METHOD *meth=NULL; |
11 |
+#else |
12 |
+ SSL_METHOD *meth=NULL; |
13 |
+#endif |
14 |
+ |
15 |
meth=SSLv23_client_method(); |
16 |
SSLeay_add_ssl_algorithms(); |
17 |
mySocketsSsl[i].ctx = SSL_CTX_new(meth); |