mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
fix --secure-protocol=SSLv2/SSLv3
This commit is contained in:
parent
b56a528aea
commit
3be7e0a53c
@ -1,3 +1,8 @@
|
|||||||
|
2012-12-20 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||||
|
|
||||||
|
* gnutls.c (ssl_connect_wget): added +VERS-SSL3.0 to fix
|
||||||
|
--secure-protocol=SSLv2/SSLv3.
|
||||||
|
|
||||||
2012-12-09 Giuseppe Scrivano <gscrivano@gnu.org>
|
2012-12-09 Giuseppe Scrivano <gscrivano@gnu.org>
|
||||||
|
|
||||||
* main.c (main): Keep looking for "config" until there are
|
* main.c (main): Keep looking for "config" until there are
|
||||||
|
@ -401,7 +401,7 @@ ssl_connect_wget (int fd, const char *hostname)
|
|||||||
break;
|
break;
|
||||||
case secure_protocol_sslv2:
|
case secure_protocol_sslv2:
|
||||||
case secure_protocol_sslv3:
|
case secure_protocol_sslv3:
|
||||||
err = gnutls_priority_set_direct (session, "NORMAL:-VERS-TLS-ALL", NULL);
|
err = gnutls_priority_set_direct (session, "NORMAL:-VERS-TLS-ALL:+VERS-SSL3.0", NULL);
|
||||||
break;
|
break;
|
||||||
case secure_protocol_tlsv1:
|
case secure_protocol_tlsv1:
|
||||||
err = gnutls_priority_set_direct (session, "NORMAL:-VERS-SSL3.0", NULL);
|
err = gnutls_priority_set_direct (session, "NORMAL:-VERS-SSL3.0", NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user