1 2 3 4 5 6 7 8 9 10 11
--- sim/sslclient.cpp.orig 2006-02-01 04:24:25.000000000 +0800 +++ sim/sslclient.cpp 2008-04-23 20:59:47.000000000 +0800 @@ -406,7 +406,7 @@ bool SSLClient::initTLS1(bool bDH) { - mpCTX = SSL_CTX_new(TLSv1_method()); + mpCTX = SSL_CTX_new(SSLv23_client_method()); if (mpCTX == NULL) return false; if (bDH){