aboutsummaryrefslogtreecommitdiffstats
path: root/common/openpgp-oid.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-07-29 14:10:54 +0000
committerWerner Koch <[email protected]>2015-07-29 14:11:17 +0000
commit23d8609f4b5ec3432323a676fd7ef225c0ef71a1 (patch)
tree763a543a90510409a984ccb8ad93af3162a53be1 /common/openpgp-oid.c
parentdoc: Document that gpg --edit-key's toggle is a nop. (diff)
downloadgnupg-23d8609f4b5ec3432323a676fd7ef225c0ef71a1.tar.gz
gnupg-23d8609f4b5ec3432323a676fd7ef225c0ef71a1.zip
gpg: Do not return "Legacy Key" from lookup if a key is expired.
* g10/getkey.c (lookup): Map GPG_ERR_LEGACY_KEY. -- If an expired key is directly followed by a legacy key in the keyring, the lookup function incorrectly returned "legacy key" instead of "unusable key". We fix it by handling not found identical to a legacy key if the last finish lookup failed. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions