mirror of
https://github.com/mirror/wget.git
synced 2025-01-15 23:01:07 +08:00
Don't print message about loading crl or ca-cert files with --no-verbose
* src/gnutls.c (ssl_init): Use LOG_VERBOSE verbosity for informative message related to loading CRL or CA certificate file. Before change [1], wget didn't produce any output related to loading CA certificates when --no-verbose option has been used. When --no-verbose option is used, only error messages and basic information should get printed. Information about loading CRL or CA certificate is probably not a basic information. Any error when loading the CRL or CA certificate will be still printed with --no-verbose. Some users rely on wget not printing such information and they consider it a regression. Reported as https://bugzilla.redhat.com/show_bug.cgi?id=1807267 [1] http://git.savannah.gnu.org/cgit/wget.git/commit/?id=e4a8fe84e2b813b65d91aec29298eecabe4850a5 Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
parent
103aaf7740
commit
706e71564c
@ -172,7 +172,7 @@ ssl_init (void)
|
||||
else
|
||||
{
|
||||
ncerts += rc;
|
||||
logprintf (LOG_NOTQUIET, _ ("Loaded CA certificate '%s'\n"), opt.ca_cert);
|
||||
logprintf (LOG_VERBOSE, _ ("Loaded CA certificate '%s'\n"), opt.ca_cert);
|
||||
}
|
||||
}
|
||||
|
||||
@ -186,7 +186,7 @@ ssl_init (void)
|
||||
return false;
|
||||
}
|
||||
|
||||
logprintf (LOG_NOTQUIET, _ ("Loaded CRL file '%s'\n"), opt.crl_file);
|
||||
logprintf (LOG_VERBOSE, _ ("Loaded CRL file '%s'\n"), opt.crl_file);
|
||||
}
|
||||
|
||||
DEBUGP (("Certificates loaded: %d\n", ncerts));
|
||||
|
Loading…
Reference in New Issue
Block a user