Home GnuPG

random: Not use secure memory for DRBG instance.

Description

random: Not use secure memory for DRBG instance.

* random/random-drbg.c (drbg_instance): New at BSS.
(_drbg_init_internal): Don't allocate at secure memory.
(_gcry_rngdrbg_close_fds): Follow the change.
  • GnuPG-bug-id: T5933
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>