Home GnuPG

random:drbg: Fix the behavior for child process.

Description

random:drbg: Fix the behavior for child process.

* random/random-drbg.c (_gcry_rngdrbg_randomize): Update change of PID
detection.

In a child process, it calls to drbg_reseed again and again, without
this change.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Mar 31 2022, 9:09 AM
Parents
rC2db5b5e995c2: build: When no gpg-error-config, not install libgcrypt-config.
Branches
Unknown
Tags
Unknown