From: Nikos Mavrogiannopoulos Date: Sun, 4 Nov 2012 16:37:44 +0000 (+0100) Subject: better printing X-Git-Tag: gnutls_3_1_4~28 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6fd98c0e5d558c9d00a51185799c8a1ec1ef929f;p=thirdparty%2Fgnutls.git better printing --- 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));