Use system memory clearing functions when available.
commit101575598be85fdf65f67a57d62b65b4866ba8fe
authorBen Kibbey <bjk@luxsci.net>
Sun, 25 Nov 2018 18:26:07 +0000 (25 10:26 -0800)
committerBen Kibbey <bjk@luxsci.net>
Sun, 25 Nov 2018 18:26:07 +0000 (25 10:26 -0800)
tree96989ada96710875eaedf7a91f6cf1b4c03a07d8
parentddb14204da144379da945f88565aab23081468fb
Use system memory clearing functions when available.

Some compilers may still optimize out the clearing of memory unless
system memory clearing functions are used. See this[1] gnupg-devel post
with additional links for further information.

1. https://lists.gnupg.org/pipermail/gnupg-devel/2018-November/034060.html
configure.ac
src/Makefile.am
src/mem.c
src/mem.h