diff options
author | Werner Koch <wk@gnupg.org> | 2016-12-07 10:01:39 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-12-07 10:01:39 +0100 |
commit | e366c19b34922c770af82cd035fd815680b29dee (patch) | |
tree | 04f13b07dc0b4bc2a7bc65d03bcfabb8dc41c513 /src/gcrypt-testapi.h | |
parent | 995ce697308320c6a52a307f83dc49eeb8d784b4 (diff) | |
download | libgcrypt-e366c19b34922c770af82cd035fd815680b29dee.tar.gz |
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>
Diffstat (limited to 'src/gcrypt-testapi.h')
-rw-r--r-- | src/gcrypt-testapi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gcrypt-testapi.h b/src/gcrypt-testapi.h index 23d38008..0417754f 100644 --- a/src/gcrypt-testapi.h +++ b/src/gcrypt-testapi.h @@ -31,6 +31,7 @@ #define PRIV_CTL_RUN_EXTRNG_TEST 59 #define PRIV_CTL_DEINIT_EXTRNG_TEST 60 #define PRIV_CTL_EXTERNAL_LOCK_TEST 61 +#define PRIV_CTL_DUMP_SECMEM_STATS 62 #define EXTERNAL_LOCK_TEST_INIT 30111 #define EXTERNAL_LOCK_TEST_LOCK 30112 |