summaryrefslogtreecommitdiff
path: root/src/danetool.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-04 17:37:44 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-04 17:37:44 +0100
commit6fd98c0e5d558c9d00a51185799c8a1ec1ef929f (patch)
tree996f46034f631db26348a8979570205ae580e4bf /src/danetool.c
parent3a7536e2e12597b4e2831dd07f5dfba94a747aa9 (diff)
downloadgnutls-6fd98c0e5d558c9d00a51185799c8a1ec1ef929f.tar.gz
better printing
Diffstat (limited to 'src/danetool.c')
-rw-r--r--src/danetool.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/danetool.c b/src/danetool.c
index 1cf92ff924..f0213d4cb9 100644
--- a/src/danetool.c
+++ b/src/danetool.c
@@ -213,7 +213,8 @@ size_t size;
if (ret < 0)
error (EXIT_FAILURE, 0, "gnutls_hex_encode: %s", dane_strerror (ret));
- fprintf(outfile, "\nEntry %d:\n_%u._%s.%s. IN TLSA ( %.2x %.2x %.2x %s )\n", i+1, port, proto, host, usage, type, match, buffer);
+ printf("\nEntry %d:\n", i+1);
+ fprintf(outfile, "_%u._%s.%s. IN TLSA ( %.2x %.2x %.2x %s )\n", port, proto, host, usage, type, match, buffer);
printf("\nCertificate usage: %s\n", dane_cert_usage_name(usage));
printf("Certificate type: %s\n", dane_cert_type_name(type));