diff configure.ac @ 1280:94d4038bb34c

Use memset_s or explicit_bzero
author Matt Johnston <matt@ucc.asn.au>
date Wed, 16 Mar 2016 23:39:39 +0800
parents da1ed4fcdc4a
children b28624698130 18c0b0e450ff 96a282e78085
line wrap: on
line diff
--- a/configure.ac	Wed Mar 16 23:04:55 2016 +0800
+++ b/configure.ac	Wed Mar 16 23:39:39 2016 +0800
@@ -375,6 +375,9 @@
 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.