*Web\SSL: Fixed to compile with recent SSL

git-svn-id: svn://ultimatepp.org/upp/trunk@2459 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2010-06-05 19:37:05 +00:00
parent 1f1b602e3b
commit 8f32960942

View file

@ -15,7 +15,7 @@ bool HttpsClient::CreateClientSocket()
return HttpClient::CreateClientSocket();
if(!ssl_context) {
ssl_context = new SSLContext;
if(!ssl_context->Create(SSLv3_client_method())) {
if(!ssl_context->Create(const_cast<SSL_METHOD *>(SSLv3_client_method()))) {
error = t_("Error creating SSL context.");
return false;
}