mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
openssl: Use SSLv2 only when available.
This commit is contained in:
parent
c09d62159b
commit
cbe8eb725b
@ -1,3 +1,8 @@
|
||||
2011-04-11 Cristian Rodríguez <crrodriguez@opensuse.org> (tiny change)
|
||||
|
||||
* openssl.c (ssl_init) [! OPENSSL_NO_SSL2]: Use SSLv2 only when
|
||||
available.
|
||||
|
||||
2011-04-07 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||
|
||||
* gnutls.c (ssl_init): Allow X509 v1 certificates.
|
||||
|
@ -186,9 +186,11 @@ ssl_init ()
|
||||
case secure_protocol_auto:
|
||||
meth = SSLv23_client_method ();
|
||||
break;
|
||||
#ifndef OPENSSL_NO_SSL2
|
||||
case secure_protocol_sslv2:
|
||||
meth = SSLv2_client_method ();
|
||||
break;
|
||||
#endif
|
||||
case secure_protocol_sslv3:
|
||||
meth = SSLv3_client_method ();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user