summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-05-11 20:05:10 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-05-11 20:06:07 +0200
commit2b661693eade182d7899835cbcfdb7ae40d0ed44 (patch)
tree535d683f5c8601488a3c3e54a78dcb045b6ef263 /src
parentfb1545f57ce652266adf42270dc69cd3e4bb316d (diff)
downloadgnutls-2b661693eade182d7899835cbcfdb7ae40d0ed44.tar.gz
print message on certificate verification
Diffstat (limited to 'src')
-rw-r--r--src/danetool.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/danetool.c b/src/danetool.c
index 01c9724cfe..f26d5a3a68 100644
--- a/src/danetool.c
+++ b/src/danetool.c
@@ -293,6 +293,10 @@ unsigned vflags = DANE_VFLAG_FAIL_IF_NOT_CHECKED;
gnutls_free(clist);
}
}
+ else
+ {
+ fprintf(stderr, "\nCertificate was not verified. Use --load-certificate.\n");
+ }
}