summaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2016-03-16 23:39:39 +0800
committerMatt Johnston <matt@ucc.asn.au>2016-03-16 23:39:39 +0800
commitb647b753e005588065f806f9830928a9b53cdcef (patch)
tree594fc4194d00744125829ca92e512763fefebb2a /configure.ac
parent48b855c581db62e4b39ac88cb69d4abf79504ee2 (diff)
Use memset_s or explicit_bzero
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 9fd8ef2..893b904 100644
--- a/configure.ac
+++ b/configure.ac
@@ -375,6 +375,9 @@ AC_CHECK_FUNCS(logout updwtmp logwtmp)
AC_CHECK_HEADERS([mach/mach_time.h])
AC_CHECK_FUNCS(mach_absolute_time)
+AC_CHECK_FUNCS(explicit_bzero memset_s)
+
+
AC_ARG_ENABLE(bundled-libtom,
[ --enable-bundled-libtom Force using bundled libtomcrypt/libtommath even if a system version exists.
--disable-bundled-libtom Force using system libtomcrypt/libtommath, fail if it does not exist.