summaryrefslogtreecommitdiff
path: root/libdane
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-01 22:48:25 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-01 22:48:25 +0100
commit6d839746ef4964daac20723e8e7e5505eb51dcf9 (patch)
tree7c270858e9f0511960c7a2260f73483cbc70e934 /libdane
parent4fd86806bdb42743bd2a96f9c3138ee1a3ee3a6e (diff)
downloadgnutls-6d839746ef4964daac20723e8e7e5505eb51dcf9.tar.gz
better verification messages.
Diffstat (limited to 'libdane')
-rw-r--r--libdane/dane.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdane/dane.c b/libdane/dane.c
index b1b83a0249..7114ae7a0d 100644
--- a/libdane/dane.c
+++ b/libdane/dane.c
@@ -628,9 +628,9 @@ dane_verification_status_print (unsigned int status,
_gnutls_buffer_init (&str);
if (status == 0)
- _gnutls_buffer_append_str (&str, _("DANE verification didn't reject the certificate. "));
+ _gnutls_buffer_append_str (&str, _("Certificate matches. "));
else
- _gnutls_buffer_append_str (&str, _("DANE verification failed. "));
+ _gnutls_buffer_append_str (&str, _("Verification failed. "));
if (status & DANE_VERIFY_CA_CONSTRAINS_VIOLATED)
_gnutls_buffer_append_str (&str, _("CA constrains were violated. "));
@@ -639,7 +639,7 @@ dane_verification_status_print (unsigned int status,
_gnutls_buffer_append_str (&str, _("The certificate differs. "));
if (status & DANE_VERIFY_NO_DANE_INFO)
- _gnutls_buffer_append_str (&str, _("There was no DANE information. "));
+ _gnutls_buffer_append_str (&str, _("There were no DANE information. "));
ret = _gnutls_buffer_to_datum( &str, out);
if (out->size > 0) out->size--;