diff options
author | Werner Koch <[email protected]> | 2021-01-19 09:33:03 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2021-01-19 09:33:03 +0000 |
commit | 9500432b7ae10d98b30c58de4357e2ffb93bf795 (patch) | |
tree | 63ebc784ad1b417a75df15ccda1d2b335add61c9 /dirmngr/ks-engine-hkp.c | |
parent | tools: Add option --clock to watchgnupg (diff) | |
download | gnupg-9500432b7ae10d98b30c58de4357e2ffb93bf795.tar.gz gnupg-9500432b7ae10d98b30c58de4357e2ffb93bf795.zip |
Require Libgcrypt 1.9
* configure.ac: Require at least Libgcrypt 1.9.0. Remove all
GCRYPT_VERSION_NUMBER dependent code.
--
Only Libgcrypt 1.9 implements EAX which is a mandatory algorithm in
RFC4880bis.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'dirmngr/ks-engine-hkp.c')
-rw-r--r-- | dirmngr/ks-engine-hkp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dirmngr/ks-engine-hkp.c b/dirmngr/ks-engine-hkp.c index b31557b60..93c676b6a 100644 --- a/dirmngr/ks-engine-hkp.c +++ b/dirmngr/ks-engine-hkp.c @@ -232,6 +232,9 @@ select_random_host (hostinfo_t hi) size_t tblsize; int pidx, idx; + /* CHECKTHIS(); See */ + /* https://sources.debian.org/patches/gnupg2/2.2.20-1/dirmngr-idling/dirmngr-hkp-Avoid-potential-race-condition-when-some.patch/ */ + /* We create a new table so that we randomly select only from currently alive hosts. */ for (idx = 0, tblsize = 0; |