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

@ -1 +1 @@
Subproject commit 80468000859bcb7c3784c69280888fcfe89d8922 Subproject commit 2bc51aedb64d6db350bc5d7c64f2f7227f0e4e34

@ -1 +1 @@
Subproject commit c7cc866b9e2f5ecc181f69090958236500c79381 Subproject commit 34c5845629d1fef453b80fdaf97bea44ee19e0c3

View file

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