summaryrefslogtreecommitdiff
path: root/lib/x509/output.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-12-02 16:27:58 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2016-12-02 22:54:11 +0100
commit02c468d5d54fc9594f4f3a6ee7497abf4de4602b (patch)
treeb8e858f7e4c5ba9ef1e59cf1b3780e6ad9ca0d55 /lib/x509/output.c
parent726ced923f54f0cd30b8f3303410e59ea7f1a1c3 (diff)
downloadgnutls-02c468d5d54fc9594f4f3a6ee7497abf4de4602b.tar.gz
x509: fixed output of pubkey
Diffstat (limited to 'lib/x509/output.c')
-rw-r--r--lib/x509/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/output.c b/lib/x509/output.c
index 1eff3a38b6..ccf21e6be7 100644
--- a/lib/x509/output.c
+++ b/lib/x509/output.c
@@ -1617,7 +1617,7 @@ static void print_obj_id(gnutls_buffer_st *str, const char *prefix, void *obj, g
return;
}
- addf(str, _("%sPublic Key ID:\n\t\tsha1:"), prefix);
+ addf(str, _("%sPublic Key ID:\n%s\tsha1:"), prefix, prefix);
_gnutls_buffer_hexprint(str, sha1_buffer, sha1_size);
addf(str, "\n%s\tsha256:", prefix);
_gnutls_buffer_hexprint(str, sha2_buffer, sha2_size);