mirror of
https://github.com/mirror/wget.git
synced 2025-03-25 17:20:13 +08:00
parent
50ec4d9c3d
commit
f518d6cea1
@ -1,3 +1,8 @@
|
|||||||
|
2014-11-19 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||||
|
|
||||||
|
* gnutls.c (ssl_init): Report load failure of cert files from
|
||||||
|
cert directory only with --debug. Fixes #41331.
|
||||||
|
|
||||||
2014-11-18 Tim Ruehsen <tim.ruehsen@gmx.de>
|
2014-11-18 Tim Ruehsen <tim.ruehsen@gmx.de>
|
||||||
|
|
||||||
* Fix warnings from clang-analyzer 3.6
|
* Fix warnings from clang-analyzer 3.6
|
||||||
|
@ -138,8 +138,7 @@ ssl_init (void)
|
|||||||
hash_table_put (inode_map, (void *)(intptr_t) st.st_ino, NULL);
|
hash_table_put (inode_map, (void *)(intptr_t) st.st_ino, NULL);
|
||||||
if ((rc = gnutls_certificate_set_x509_trust_file (credentials, ca_file,
|
if ((rc = gnutls_certificate_set_x509_trust_file (credentials, ca_file,
|
||||||
GNUTLS_X509_FMT_PEM)) <= 0)
|
GNUTLS_X509_FMT_PEM)) <= 0)
|
||||||
logprintf (LOG_NOTQUIET, _("ERROR: Failed to open cert %s: (%d).\n"),
|
DEBUGP (("WARNING: Failed to open cert %s: (%d).\n", ca_file, rc));
|
||||||
ca_file, rc);
|
|
||||||
else
|
else
|
||||||
ncerts += rc;
|
ncerts += rc;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user