From dc69804ab0576fbc87297215d63b37a680d74d4d Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Mon, 14 Sep 2015 20:55:59 +0200 Subject: 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 . --- g10/pkclist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'g10/pkclist.c') 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; -- cgit v1.2.3