Fix secmem test for machine with larger page.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 9 Nov 2017 01:59:33 +0000 (10:59 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 9 Nov 2017 01:59:33 +0000 (10:59 +0900)
commit621f5c4e837347308a6b06a8cfbfc47ca9fae69e
tree88b5d08c3b1a8a8f8951a0151d1475d5b7025e52
parent77e314a42a9c3c3557f0e60b3bf6da2ff9f7709a
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: 3351
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
src/secmem.c
tests/t-secmem.c