diff options
author | Werner Koch <wk@gnupg.org> | 2017-11-23 19:15:41 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2017-11-24 10:10:18 +0100 |
commit | 1f6b2f6099ebcfd785e2d2ae0aeca810394dbbac (patch) | |
tree | 3682f438908521e87b1bdf5c6bc5b2add2dc85ab /tests/version.c | |
parent | 0abd1031bc0d889f21ddbf4ced8764d2191075fe (diff) | |
download | libgcrypt-1f6b2f6099ebcfd785e2d2ae0aeca810394dbbac.tar.gz |
api: Add GCRYCTL_AUTO_EXPAND_SECMEM.
* src/gcrypt.h.in (GCRYCTL_AUTO_EXPAND_SECMEM): New enum.
* src/global.c (_gcry_vcontrol): Implement that.
* src/secmem.c (auto_expand): New var.
(_gcry_secmem_set_auto_expand): New.
(_gcry_secmem_malloc_internal): Act upon AUTO_EXPAND.
--
GnuPG-bug-id: 3530
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'tests/version.c')
0 files changed, 0 insertions, 0 deletions