Fix to compile with OpenSSL that has SSLv3 disalbed.

Patch by Christoph Pietsch.
This commit is contained in:
Robin Sommer 2015-11-10 13:30:53 -08:00
parent 96791d707f
commit 1da6f4a430
3 changed files with 3 additions and 3 deletions

View file

@ -709,7 +709,7 @@ bool ChunkedIOSSL::Init()
{
SSL_load_error_strings();
ctx = SSL_CTX_new(SSLv3_method());
ctx = SSL_CTX_new(SSLv23_method());
if ( ! ctx )
{
Log("can't create SSL context");