Add guard for OpenSSL without SSLv3

This commit is contained in:
Peter Meiser 2014-10-29 19:26:28 +01:00 committed by Giuseppe Scrivano
parent 148065bc00
commit c81e3df2bc
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2014-10-29 Peter Meiser <meiser@gmx-topmail.de> (tiny change)
* openssl.c (ssl_init) [! OPENSSL_NO_SSL3]: Add guard for OpenSSL
without SSLv3.
2014-10-28 Tim Ruehsen <tim.ruehsen@gmx.de>
* ftp.c (ftp_loop_internal): Fix memory leak

View File

@ -208,9 +208,11 @@ ssl_init (void)
meth = SSLv2_client_method ();
break;
#endif
#ifndef OPENSSL_NO_SSL3
case secure_protocol_sslv3:
meth = SSLv3_client_method ();
break;
#endif
case secure_protocol_auto:
case secure_protocol_pfs:
case secure_protocol_tlsv1: