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

gpg: Fix searching for the ADSK key when adding an ADSK.

* g10/keyedit.c (menu_addadsk): Request an exact search.
* g10/getkey.c (finish_lookup): Add an debug output.
--

GnuPG-bug-id: 6504
This commit is contained in:
Werner Koch 2023-05-25 11:57:04 +02:00
parent 0f8e5f1c1d
commit 14828c75be
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
2 changed files with 12 additions and 0 deletions

View file

@ -3655,6 +3655,9 @@ finish_lookup (kbnode_t keyblock, unsigned int req_usage, int want_exact,
break;
}
}
if (DBG_LOOKUP)
log_debug ("finish_lookup: exact search requested: %sfound\n",
foundk? "":"not ");
}
/* Get the user id that matched that low-level search criteria. */