Home GnuPG
Diffusion GnuPG 3689c2105aab

gpg: Use only one fingerprint formatting function.
3689c2105aabUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

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 <wk@gnupg.org>

Details

Provenance
wernerAuthored on Nov 14 2015, 9:13 AM
Parents
rGe7d7160ab7cd: gpg: Simplify the tofu interface by using the public key packet.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG3689c2105aab: gpg: Use only one fingerprint formatting function. (authored by Werner Koch <wk@gnupg.org>).Nov 14 2015, 9:13 AM