From 070cf12e40400156ee5483ae341c2fe0418b3b20 Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Fri, 25 Apr 2008 23:01:33 +0200 Subject: [PATCH] Further quote*()-related integrations in gnutls.c. --- src/gnutls.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gnutls.c b/src/gnutls.c index 57d4ad5c..5480cde3 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -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; } -- 2.39.2