]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Fix configure check for mpz_powm_sec.
authorNiels Möller <nisse@lysator.liu.se>
Tue, 12 Jul 2016 20:38:07 +0000 (22:38 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Tue, 12 Jul 2016 20:38:07 +0000 (22:38 +0200)
configure.ac

index 92a3605544cd236893f957fe88be7f4a52257224..1e88477328121bad3d3c6497172f84cc57a36f8b 100644 (file)
@@ -236,7 +236,7 @@ fi
 # Checks for libraries
 if test "x$enable_public_key" = "xyes" ; then
   if test "x$enable_mini_gmp" = "xno" ; then
-    AC_CHECK_LIB(gmp, __gmpz_mpz_powm,,
+    AC_CHECK_LIB(gmp, __gmpz_powm_sec,,
         [AC_MSG_WARN(
     [GNU MP not found, or too old. GMP-5.0 or later is needed, see http://gmplib.org/.
     Support for public key algorithms will be unavailable.])]