diff options
author | Neal H. Walfield <[email protected]> | 2015-11-24 12:03:24 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-11-24 12:03:24 +0000 |
commit | e9c16fee2576c772de9d4fb5d53fee28e4b84202 (patch) | |
tree | 9ef0d8cd56de555306aea46314c53bae6cc62f14 /common/call-gpg.c | |
parent | gpg: Reflow long texts. (diff) | |
download | gnupg-e9c16fee2576c772de9d4fb5d53fee28e4b84202.tar.gz gnupg-e9c16fee2576c772de9d4fb5d53fee28e4b84202.zip |
gpg: When comparing keyids, use the keyid, not the fingerprint's suffix.
* g10/keyedit.c (menu_select_key): Use spacep and hexdigitp instead of
inline tests. Don't compare P to the suffix of the fingerprint. If P
appears to be a keyid, do an exact compare against the keyid. If it
appears to be a fingerprint, do an exact compare against the
fingerprint.
--
Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'common/call-gpg.c')
0 files changed, 0 insertions, 0 deletions