diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-05-01 00:26:47 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-05-01 12:59:58 +0200 |
commit | 946cd9b9f5d6cefbb7fb3a418e04f08f5c194379 (patch) | |
tree | efa16f15c6392868b2acc75286ca7a330fc0f71e | |
parent | abe6a12b9766219163f99d7807a0b07fbe5f590c (diff) | |
download | gnutls-946cd9b9f5d6cefbb7fb3a418e04f08f5c194379.tar.gz |
added newline in debug messages [ci skip]
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | lib/x509/email-verify.c | 4 | ||||
-rw-r--r-- | lib/x509/hostname-verify.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/x509/email-verify.c b/lib/x509/email-verify.c index e40e8b812d..bb37db09e3 100644 --- a/lib/x509/email-verify.c +++ b/lib/x509/email-verify.c @@ -94,7 +94,7 @@ gnutls_x509_crt_check_email(gnutls_x509_crt_t cert, } if (!_gnutls_str_is_print(rfc822name, rfc822namesize)) { - _gnutls_debug_log("invalid (non-ASCII) email in certificate %.*s", (int)rfc822namesize, rfc822name); + _gnutls_debug_log("invalid (non-ASCII) email in certificate %.*s\n", (int)rfc822namesize, rfc822name); continue; } @@ -137,7 +137,7 @@ gnutls_x509_crt_check_email(gnutls_x509_crt_t cert, } if (!_gnutls_str_is_print(rfc822name, rfc822namesize)) { - _gnutls_debug_log("invalid (non-ASCII) email in certificate DN %.*s", (int)rfc822namesize, rfc822name); + _gnutls_debug_log("invalid (non-ASCII) email in certificate DN %.*s\n", (int)rfc822namesize, rfc822name); ret = 0; goto cleanup; } 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; } |