]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
nettle: remove check for nettle_rsa_sec_decrypt
authorDaiki Ueno <ueno@gnu.org>
Tue, 3 Mar 2026 01:28:03 +0000 (10:28 +0900)
committerDaiki Ueno <ueno@gnu.org>
Wed, 4 Mar 2026 11:49:58 +0000 (20:49 +0900)
Now that Nettle 3.10 is required to build the library, the check for
the function is redundant.

Signed-off-by: Daiki Ueno <ueno@gnu.org>
configure.ac

index 3307b04731c1468f73e32e5a539a3fd00ab7efb4..ab4a4e9f528b7af0aa87a326737f582c854cbb91 100644 (file)
@@ -783,15 +783,6 @@ if test x$enable_dsa != xno; then
 fi
 AM_CONDITIONAL([ENABLE_DSA], [test x$enable_dsa != xno])
 
-# We MUST require a Nettle version that has rsa_sec_decrypt now.
-save_LIBS=$LIBS
-LIBS="$LIBS $HOGWEED_LIBS $NETTLE_LIBS $GMP_LIBS"
-AC_CHECK_FUNCS(nettle_rsa_sec_decrypt,
-    [],
-    [AC_MSG_ERROR([Nettle lacks the required rsa_sec_decrypt function])]
-)
-LIBS=$save_LIBS
-
 # Check for GOST28147
 save_LIBS=$LIBS
 LIBS="$LIBS $NETTLE_LIBS"