aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/certcache.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-03-18 11:30:06 +0000
committerWerner Koch <[email protected]>2020-03-18 11:43:35 +0000
commite77f332b01f13af606ae0158dabcd644c274e456 (patch)
treeae35f004d0d2fa4afd3ce8fa4e725bbda41a81aa /dirmngr/certcache.c
parentgpg: New option --auto-key-import (diff)
downloadgnupg-e77f332b01f13af606ae0158dabcd644c274e456.tar.gz
gnupg-e77f332b01f13af606ae0158dabcd644c274e456.zip
gpg: Fix key expiration and usage for keys created at the Epoch.
* g10/getkey.c (merge_selfsigs_main): Take a zero key creation time in account. -- Keys created at the Epoch have a creation time of 0; when figuring out the latest signature with properties to apply to a key the usual comparison A > B does not work if A is always 0. We now special case this for the expiration and usage data. Co-authored-by: [email protected] GnuPG-bug-id: 4670 Signed-off-by: Werner Koch <[email protected]> (cherry picked from commit 161a098be6f9d50fb5f7e120baee81e75d6eb5ad)
Diffstat (limited to 'dirmngr/certcache.c')
0 files changed, 0 insertions, 0 deletions