summaryrefslogtreecommitdiff
path: root/lib/x509/hostname-verify.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-05-01 00:26:47 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-05-01 12:59:58 +0200
commit946cd9b9f5d6cefbb7fb3a418e04f08f5c194379 (patch)
treeefa16f15c6392868b2acc75286ca7a330fc0f71e /lib/x509/hostname-verify.c
parentabe6a12b9766219163f99d7807a0b07fbe5f590c (diff)
downloadgnutls-946cd9b9f5d6cefbb7fb3a418e04f08f5c194379.tar.gz
added newline in debug messages [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/x509/hostname-verify.c')
-rw-r--r--lib/x509/hostname-verify.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/x509/hostname-verify.c b/lib/x509/hostname-verify.c
index 438d166d57..c043ff5bff 100644
--- a/lib/x509/hostname-verify.c
+++ b/lib/x509/hostname-verify.c
@@ -231,7 +231,7 @@ gnutls_x509_crt_check_hostname2(gnutls_x509_crt_t cert,
}
if (!_gnutls_str_is_print(dnsname, dnsnamesize)) {
- _gnutls_debug_log("invalid (non-ASCII) name in certificate %.*s", (int)dnsnamesize, dnsname);
+ _gnutls_debug_log("invalid (non-ASCII) name in certificate %.*s\n", (int)dnsnamesize, dnsname);
continue;
}
@@ -280,7 +280,7 @@ gnutls_x509_crt_check_hostname2(gnutls_x509_crt_t cert,
}
if (!_gnutls_str_is_print(dnsname, dnsnamesize)) {
- _gnutls_debug_log("invalid (non-ASCII) name in certificate CN %.*s", (int)dnsnamesize, dnsname);
+ _gnutls_debug_log("invalid (non-ASCII) name in certificate CN %.*s\n", (int)dnsnamesize, dnsname);
ret = 0;
goto cleanup;
}