aboutsummaryrefslogtreecommitdiffstats
path: root/dirmngr/ks-engine-http.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-10-19 02:08:24 +0000
committerWerner Koch <[email protected]>2017-10-19 13:03:19 +0000
commitd07de3862710d88bc80d6f6c5ca8da5cf38ff0eb (patch)
tree5589c23ccc2332c40ea4cdae4c411a1a0d637f88 /dirmngr/ks-engine-http.c
parentgpg: Keep a lock during the read-update/insert cycle in import. (diff)
downloadgnupg-d07de3862710d88bc80d6f6c5ca8da5cf38ff0eb.tar.gz
gnupg-d07de3862710d88bc80d6f6c5ca8da5cf38ff0eb.zip
g10: Fix find_and_check_key for multiple keyrings.
* g10/pkclist.c (find_and_check_key): Call get_validity on a specific keyblock. -- When we have multiple keyrings, get_validity after get_best_pubkey_byname should access same keyring. Or else, the situation of an expired key in keyring A but valid key in keyring B causes SEGV. Thanks to Guido Günther for the use case and the log. Debian-bug-id: 878812 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions