aboutsummaryrefslogtreecommitdiffstats
path: root/g10/import.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/import.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/g10/import.c b/g10/import.c
index 2ff06b51d..d06d957c2 100644
--- a/g10/import.c
+++ b/g10/import.c
@@ -638,7 +638,7 @@ import_one( const char *fname, KBNODE keyblock,
/* do we have this key already in one of our pubrings ? */
pk_orig = m_alloc_clear( sizeof *pk_orig );
- rc = get_pubkey( pk_orig, keyid );
+ rc = get_pubkey_fast ( pk_orig, keyid );
if( rc && rc != G10ERR_NO_PUBKEY && rc != G10ERR_UNU_PUBKEY ) {
log_error( _("key %08lX: public key not found: %s\n"),
(ulong)keyid[1], g10_errstr(rc));
@@ -1476,8 +1476,8 @@ revocation_present(KBNODE keyblock)
itself? */
int rc;
- rc=get_pubkey_byfprint(NULL,sig->revkey[idx]->fpr,
- MAX_FINGERPRINT_LEN);
+ rc=get_pubkey_byfprint_fast (NULL,sig->revkey[idx]->fpr,
+ MAX_FINGERPRINT_LEN);
if(rc==G10ERR_NO_PUBKEY || rc==G10ERR_UNU_PUBKEY)
{
/* No, so try and get it */
@@ -1492,7 +1492,7 @@ revocation_present(KBNODE keyblock)
MAX_FINGERPRINT_LEN);
/* Do we have it now? */
- rc=get_pubkey_byfprint(NULL,
+ rc=get_pubkey_byfprint_fast (NULL,
sig->revkey[idx]->fpr,
MAX_FINGERPRINT_LEN);
}