Home GnuPG
Diffusion GnuPG bad0e15d8723

w32: Make the extra check for a compliant RNG actually work.

Description

w32: Make the extra check for a compliant RNG actually work.

* common/compliance.c (gnupg_rng_is_compliant) [W32]: Fix setting
non-compliance.

which introduced a per mode cache but missed to actually reset the
variable on a non-compliant RNG as told by Libgcrypt. This is
intended as an extra security check in case a modified Libgcrypt with
a version >= 1.8.1 and < 1.9.0 is used.

Details

Provenance
wernerAuthored on Mon, Oct 27, 5:48 PM
Parents
rG1e929abd20fa: gpg: Fix possible memory corruption in the armor parser.
Branches
Unknown
Tags
Unknown