From 1490c0c3a6eddfa0bace7729bad87f34c10399c6 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Tue, 23 Jun 2020 21:47:54 +0800 Subject: [PATCH] check for poly1305_init in other libtomcrypt configure test --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 848c261..473cea5 100644 --- a/configure.ac +++ b/configure.ac @@ -549,7 +549,7 @@ AC_ARG_ENABLE(bundled-libtom, [ BUNDLED_LIBTOM=0 AC_CHECK_LIB(tommath, mp_to_ubin, LIBTOM_LIBS="-ltommath $LIBTOM_LIBS", BUNDLED_LIBTOM=1) - AC_CHECK_LIB(tomcrypt, register_cipher, LIBTOM_LIBS="-ltomcrypt $LIBTOM_LIBS", BUNDLED_LIBTOM=1) + AC_CHECK_LIB(tomcrypt, poly1305_init, LIBTOM_LIBS="-ltomcrypt $LIBTOM_LIBS", BUNDLED_LIBTOM=1) ] )