aboutsummaryrefslogtreecommitdiffstats
path: root/g10/revoke.c
diff options
context:
space:
mode:
authorJussi Kivilinna <[email protected]>2018-12-01 11:43:09 +0000
committerJussi Kivilinna <[email protected]>2018-12-01 11:43:09 +0000
commit2a650772b4e1c78a4fd20bc88433930e5551fe9c (patch)
tree1ec63e3e9e09cba7dcaf080517379625769b98e0 /g10/revoke.c
parentscd: Add strerror to new error message. (diff)
downloadgnupg-2a650772b4e1c78a4fd20bc88433930e5551fe9c.tar.gz
gnupg-2a650772b4e1c78a4fd20bc88433930e5551fe9c.zip
common/mischelp: use platform memory zeroing function for wipememory
* common/mischelp.h (wipememory): Replace macro with function prototype. (wipememory2): Remove. * common/mischelp.c (wipememory): New. * configure.ac (AC_CHECK_FUNCS): Check for 'explicit_bzero'. -- In new wipememory function, memory is cleared through platform provided secure memory zeroing function, SecureZeroMemory or explicit_bzero. If none of these is available, memset is called through volatile function pointer to so that compiler won't optimize away the call. Signed-off-by: Jussi Kivilinna <[email protected]>
Diffstat (limited to 'g10/revoke.c')
0 files changed, 0 insertions, 0 deletions