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.

Applied the master commit of:
f436bf4451cb2ad0a1f56aa843bf79a58878022f

  • GnuPG-bug-id: T5933
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>