1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

* 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.
This commit is contained in:
David Shaw 2004-09-11 15:42:19 +00:00
parent dccd0d991b
commit 45f99c58bb
5 changed files with 67 additions and 5 deletions

View file

@ -1318,7 +1318,8 @@ keyserver_import(STRLIST users)
}
int
keyserver_import_fprint(const byte *fprint,size_t fprint_len)
keyserver_import_fprint(const byte *fprint,size_t fprint_len,
struct keyserver_spec *keyserver)
{
KEYDB_SEARCH_DESC desc;
@ -1333,7 +1334,7 @@ keyserver_import_fprint(const byte *fprint,size_t fprint_len)
memcpy(desc.u.fpr,fprint,fprint_len);
return keyserver_work(GET,NULL,&desc,1,opt.keyserver);
return keyserver_work(GET,NULL,&desc,1,keyserver);
}
int