mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Use Gnulib's quote function in gnutls.c.
This commit is contained in:
parent
bb1813ebb1
commit
1daacbb296
@ -6,6 +6,7 @@
|
|||||||
* convert.c: Likewise.
|
* convert.c: Likewise.
|
||||||
* cookies.c: Likewise.
|
* cookies.c: Likewise.
|
||||||
* ftp-opie.c: Likewise.
|
* ftp-opie.c: Likewise.
|
||||||
|
* gnutls.c: Likewise.
|
||||||
|
|
||||||
2008-04-16 Steven Schubiger <schubiger@gmail.com>
|
2008-04-16 Steven Schubiger <schubiger@gmail.com>
|
||||||
|
|
||||||
|
12
src/gnutls.c
12
src/gnutls.c
@ -230,20 +230,20 @@ ssl_check_certificate (int fd, const char *host)
|
|||||||
|
|
||||||
if (status & GNUTLS_CERT_INVALID)
|
if (status & GNUTLS_CERT_INVALID)
|
||||||
{
|
{
|
||||||
logprintf (LOG_NOTQUIET, _("%s: The certificate of `%s' is not trusted.\n"),
|
logprintf (LOG_NOTQUIET, _("%s: The certificate of %s is not trusted.\n"),
|
||||||
severity, escnonprint (host));
|
severity, quote (escnonprint (host)));
|
||||||
success = false;
|
success = false;
|
||||||
}
|
}
|
||||||
if (status & GNUTLS_CERT_SIGNER_NOT_FOUND)
|
if (status & GNUTLS_CERT_SIGNER_NOT_FOUND)
|
||||||
{
|
{
|
||||||
logprintf (LOG_NOTQUIET, _("%s: The certificate of `%s' hasn't got a known issuer.\n"),
|
logprintf (LOG_NOTQUIET, _("%s: The certificate of %s hasn't got a known issuer.\n"),
|
||||||
severity, escnonprint (host));
|
severity, quote (escnonprint (host)));
|
||||||
success = false;
|
success = false;
|
||||||
}
|
}
|
||||||
if (status & GNUTLS_CERT_REVOKED)
|
if (status & GNUTLS_CERT_REVOKED)
|
||||||
{
|
{
|
||||||
logprintf (LOG_NOTQUIET, _("%s: The certificate of `%s' has been revoked.\n"),
|
logprintf (LOG_NOTQUIET, _("%s: The certificate of %s has been revoked.\n"),
|
||||||
severity, escnonprint (host));
|
severity, quote (escnonprint (host)));
|
||||||
success = false;
|
success = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user