From 1d6879c9d5dc3e986441936dedc31c99399562cd Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 8 Oct 2012 21:09:29 +0200 Subject: [PATCH] use hex for single byte entries --- src/certtool-args.c | 2 +- src/certtool-args.h | 2 +- src/certtool.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/certtool-args.c b/src/certtool-args.c index cfc38ae54..abd5e8a1c 100644 --- a/src/certtool-args.c +++ b/src/certtool-args.c @@ -2,7 +2,7 @@ * * DO NOT EDIT THIS FILE (certtool-args.c) * - * It has been AutoGen-ed October 8, 2012 at 04:53:23 PM by AutoGen 5.16 + * It has been AutoGen-ed October 8, 2012 at 09:09:06 PM by AutoGen 5.16 * From the definitions certtool-args.def * and the template file options * diff --git a/src/certtool-args.h b/src/certtool-args.h index 429b67a90..134e42c4a 100644 --- a/src/certtool-args.h +++ b/src/certtool-args.h @@ -2,7 +2,7 @@ * * DO NOT EDIT THIS FILE (certtool-args.h) * - * It has been AutoGen-ed October 8, 2012 at 04:53:23 PM by AutoGen 5.16 + * It has been AutoGen-ed October 8, 2012 at 09:09:06 PM by AutoGen 5.16 * From the definitions certtool-args.def * and the template file options * diff --git a/src/certtool.c b/src/certtool.c index ce71b202b..a913dfd7b 100644 --- a/src/certtool.c +++ b/src/certtool.c @@ -1172,7 +1172,7 @@ static void dane_info(const char* host, const char* proto, unsigned int port, if (ret < 0) error (EXIT_FAILURE, 0, "hex encode error: %s", gnutls_strerror (ret)); - fprintf(outfile, "_%u._%s.%s. IN TLSA ( %u %u %u %s )\n", port, proto, host, usage, selector, type, buffer); + fprintf(outfile, "_%u._%s.%s. IN TLSA ( %x %x %x %s )\n", port, proto, host, usage, selector, type, buffer); -- 2.11.4.GIT