Use system memory clearing functions when available.
commitd283e90c17282eb98ef8954b6aa2c6ad83893ccf
authorBen Kibbey <bjk@luxsci.net>
Wed, 14 Nov 2018 00:12:51 +0000 (13 16:12 -0800)
committerBen Kibbey <bjk@luxsci.net>
Wed, 14 Nov 2018 00:12:51 +0000 (13 16:12 -0800)
tree23f95b01e2ce0d8ddd94bf49464264e461e7c3d4
parente0ee697b65d077a2d6919029bdcb2d5bd3fd5129
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/mem.c
src/mem.h