diff options
author | Werner Koch <[email protected]> | 2015-11-14 08:13:02 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-11-14 08:13:02 +0000 |
commit | 3689c2105aab6a4304e9464c5b20207d69b9a133 (patch) | |
tree | 9b6b205a05ed03edfe72f89983e55cf52d7222fc /g10/export.c | |
parent | gpg: Simplify the tofu interface by using the public key packet. (diff) | |
download | gnupg-3689c2105aab6a4304e9464c5b20207d69b9a133.tar.gz gnupg-3689c2105aab6a4304e9464c5b20207d69b9a133.zip |
gpg: Use only one fingerprint formatting function.
* g10/gpg.h (MAX_FORMATTED_FINGERPRINT_LEN): New.
* g10/keyid.c (hexfingerprint): Add optional args BUFFER and BUFLEN.
Change all callers.
(format_hexfingerprint): New.
* g10/keylist.c (print_fingerprint): Change to use hexfingerprint.
* g10/tofu.c (fingerprint_format): Remove. Replace calls by
format_hexfingerprint.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/export.c')
-rw-r--r-- | g10/export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/export.c b/g10/export.c index b9272515f..3c2aa5745 100644 --- a/g10/export.c +++ b/g10/export.c @@ -819,7 +819,7 @@ print_status_exported (PKT_public_key *pk) if (!is_status_enabled ()) return; - hexfpr = hexfingerprint (pk); + hexfpr = hexfingerprint (pk, NULL, 0); write_status_text (STATUS_EXPORTED, hexfpr? hexfpr : "[?]"); xfree (hexfpr); } |