]> git.xonotic.org Git - xonotic/d0_blind_id.git/blobdiff - configure.ac
Using modern secure function to clear memory when available.
[xonotic/d0_blind_id.git] / configure.ac
index 89072f0508e7bf18a9aac96f51f11292fd66b6f7..194ea0d49e06b2cd5297c980924800f8f6971223 100644 (file)
@@ -12,6 +12,7 @@ AC_ARG_WITH(tfm, AS_HELP_STRING([--with-tfm], [Use tfm (TomsFastMath) instead of
 AM_CONDITIONAL(WITH_OPENSSL, [test x"$with_openssl" != xno])
 AM_CONDITIONAL(WITH_TOMMATH, [test x"$with_tommath" != xno])
 AM_CONDITIONAL(WITH_TOMSFASTMATH, [test x"$with_tfm" != xno])
+AC_CHECK_FUNCS(explicit_bzero memset_s)
 
 AS_IF([test x"$with_tommath" != xno],
        [AC_SEARCH_LIBS(mp_init, tommath, ,