tests: New test t-secmem.
authorWerner Koch <wk@gnupg.org>
Wed, 7 Dec 2016 09:01:39 +0000 (10:01 +0100)
committerWerner Koch <wk@gnupg.org>
Wed, 7 Dec 2016 09:01:39 +0000 (10:01 +0100)
commite366c19b34922c770af82cd035fd815680b29dee
tree04f13b07dc0b4bc2a7bc65d03bcfabb8dc41c513
parent995ce697308320c6a52a307f83dc49eeb8d784b4
tests: New test t-secmem.

* src/secmem.c (_gcry_secmem_dump_stats): Add arg EXTENDED and adjust
caller.
* src/gcrypt-testapi.h (PRIV_CTL_DUMP_SECMEM_STATS): New.
* src/global.c (_gcry_vcontrol): Implement that.
* tests/t-secmem.c: New.
* tests/Makefile.am (tests_bin): Add that test.
--

This test does not much right now.

Signed-off-by: Werner Koch <wk@gnupg.org>
src/gcrypt-testapi.h
src/global.c
src/secmem.c
src/secmem.h
tests/Makefile.am
tests/t-secmem.c [new file with mode: 0644]