diff options
author | Neal H. Walfield <neal@g10code.com> | 2015-09-14 20:55:59 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@g10code.com> | 2015-09-16 15:15:23 +0200 |
commit | dc69804ab0576fbc87297215d63b37a680d74d4d (patch) | |
tree | 7590f74be73d3d6f6b1ca0bc87478fd954c6f2be /g10/pkclist.c | |
parent | g10: Simplify semantics of get_pubkey_byname. (diff) | |
download | gnupg2-dc69804ab0576fbc87297215d63b37a680d74d4d.tar.xz gnupg2-dc69804ab0576fbc87297215d63b37a680d74d4d.zip |
g10: Eliminate the redundant function get_keyblock_byfprint.
* g10/keydb.h (get_keyblock_byfprint): Remove prototype. Replace use
of this function with get_pubkey_byfprint.
* g10/getkey.c (get_pubkey_byname): Remove function.
--
Signed-off-by: Neal H. Walfield <neal@g10code.com>.
Diffstat (limited to 'g10/pkclist.c')
-rw-r--r-- | g10/pkclist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/pkclist.c b/g10/pkclist.c index 41c126e99..68d281284 100644 --- a/g10/pkclist.c +++ b/g10/pkclist.c @@ -127,7 +127,7 @@ show_revocation_reason( PKT_public_key *pk, int mode ) /* get the keyblock */ fingerprint_from_pk( pk, fingerprint, &fingerlen ); - rc = get_keyblock_byfprint( &keyblock, fingerprint, fingerlen ); + rc = get_pubkey_byfprint(NULL, &keyblock, fingerprint, fingerlen); if( rc ) { /* that should never happen */ log_debug( "failed to get the keyblock\n"); return; |