Fix copy/paste error checking for explicit_bzero
authorDavid Barksdale <amatus@amat.us>
Tue, 14 Jan 2020 00:58:13 +0000 (18:58 -0600)
committerDavid Barksdale <amatus@amat.us>
Tue, 14 Jan 2020 01:11:30 +0000 (19:11 -0600)
configure.ac

index d59dd1b9e32c6b756f04319f0e230088dd19a0a0..98bd4ca70194317f1279866e2561d45118dadeaa 100644 (file)
@@ -212,7 +212,7 @@ AC_SEARCH_LIBS([memrchr], [],
                AC_DEFINE(HAVE_MEMRCHR,1,[memrchr supported]), [])
 AC_SEARCH_LIBS([memset_s], [],
                AC_DEFINE(HAVE_MEMSET_S,1,[memset_s supported]), [])
-AC_SEARCH_LIBS([memset_s], [],
+AC_SEARCH_LIBS([explicit_bzero], [],
                AC_DEFINE(HAVE_EXPLICIT_BZERO,1,[explicit_bzero supported]), [])
 AC_CHECK_LIB(socket, socket)
 AC_CHECK_LIB(m, log)