Home GnuPG

Fix secmem test for machine with larger page.

Description

Fix secmem test for machine with larger page.

* tests/t-secmem.c (main): Detect page size and setup chunk size.
* src/secmem.c (init_pool): Simplify the expression.
  • GnuPG-bug-id: T3351
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details