1
0
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:
Tim Ruehsen 2012-12-20 13:07:30 +01:00 committed by Giuseppe Scrivano
parent b56a528aea
commit 3be7e0a53c
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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);