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

Further quote*()-related integrations in gnutls.c.

This commit is contained in:
Steven Schubiger 2008-04-25 23:01:33 +02:00
parent 1fea56d6b6
commit 070cf12e40

View File

@ -223,7 +223,7 @@ ssl_check_certificate (int fd, const char *host)
if (err < 0)
{
logprintf (LOG_NOTQUIET, _("%s: No certificate presented by %s.\n"),
severity, escnonprint (host));
severity, quotearg_style (escape_quoting_style, host));
success = false;
goto out;
}
@ -231,19 +231,19 @@ ssl_check_certificate (int fd, const char *host)
if (status & GNUTLS_CERT_INVALID)
{
logprintf (LOG_NOTQUIET, _("%s: The certificate of %s is not trusted.\n"),
severity, quote (escnonprint (host)));
severity, quote (host));
success = false;
}
if (status & GNUTLS_CERT_SIGNER_NOT_FOUND)
{
logprintf (LOG_NOTQUIET, _("%s: The certificate of %s hasn't got a known issuer.\n"),
severity, quote (escnonprint (host)));
severity, quote (host));
success = false;
}
if (status & GNUTLS_CERT_REVOKED)
{
logprintf (LOG_NOTQUIET, _("%s: The certificate of %s has been revoked.\n"),
severity, quote (escnonprint (host)));
severity, quote (host));
success = false;
}