1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Allow X509 v1 certificates.

This commit is contained in:
Giuseppe Scrivano 2011-04-07 12:55:42 +02:00
parent 96c3ec36c2
commit 0424cb1aed
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-04-07 Giuseppe Scrivano <gscrivano@gnu.org>
* gnutls.c (ssl_init): Allow X509 v1 certificates.
Suggested by: Ray Satiro <raysatiro@yahoo.com>
2011-04-07 Ray Satiro <raysatiro@yahoo.com> (tiny change)
(wgnutls_read): Check for the GNUTLS_E_AGAIN return code in the recv

View File

@ -67,6 +67,8 @@ ssl_init ()
gnutls_global_init ();
gnutls_certificate_allocate_credentials (&credentials);
gnutls_certificate_set_verify_flags(credentials,
GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT);
ca_directory = opt.ca_directory ? opt.ca_directory : "/etc/ssl/certs";