mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* getkey.c (get_pubkey_byname), import.c (import_one): Fix key selection
problem when auto-key-locate returns a list of keys, not all of which are usable (revoked, expired, etc). Noted by Simon Josefsson.
This commit is contained in:
parent
6089d7f5d8
commit
7596ae1f6a
3 changed files with 19 additions and 4 deletions
|
@ -934,7 +934,7 @@ get_pubkey_byname (PKT_public_key *pk,
|
|||
|
||||
for(akl=opt.auto_key_locate;akl;akl=akl->next)
|
||||
{
|
||||
unsigned char *fpr;
|
||||
unsigned char *fpr=NULL;
|
||||
size_t fpr_len;
|
||||
|
||||
switch(akl->type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue