From 45f99c58bb4713cfd2e116f81a010e822ae137b9 Mon Sep 17 00:00:00 2001 From: David Shaw Date: Sat, 11 Sep 2004 15:42:19 +0000 Subject: * card-util.c (fetch_url, card_edit): Use the pubkey URL stored on the card to fetch an updated copy. Works with either straight URLs or HKP or LDAP keyservers. * keyserver-internal.h, keyserver.c (keyserver_import_fprint), import.c (revocation_present): Use a keyserver_spec so the caller can pass in whatever keyserver they like. --- g10/import.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'g10/import.c') diff --git a/g10/import.c b/g10/import.c index a718e91d1..97be67877 100644 --- a/g10/import.c +++ b/g10/import.c @@ -1699,7 +1699,8 @@ revocation_present(KBNODE keyblock) " fetching revocation key %s\n"), tempkeystr,keystr(keyid)); keyserver_import_fprint(sig->revkey[idx]->fpr, - MAX_FINGERPRINT_LEN); + MAX_FINGERPRINT_LEN, + opt.keyserver); /* Do we have it now? */ rc=get_pubkey_byfprint_fast (NULL, -- cgit