Add support for explicit_memset
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 27 Apr 2019 20:15:27 +0000 (23:15 +0300)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Sat, 27 Apr 2019 20:15:27 +0000 (23:15 +0300)
commit71b0eb3fb75d2e6bbd86df055dc667b2debab0c1
treed2538168dc89a590eb304708cd2eb30882fd4065
parent78b1047eded8d5f8a13162d13160fce1809f6ee4
Add support for explicit_memset

* configure.ac: Add function check for 'explicit_memset'.
* src/misc.c (_gcry_fast_wipememory, _gcry_fast_wipememory2): Use
explicit_memset if available.
--

GnuPG-bug-id: D476
Reported-by: <devnexen@gmail.com>
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
configure.ac
src/misc.c