summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-07-20 22:26:08 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-07-20 22:26:38 +0200
commit60d256bcfb174f3393a890c0dde761f49c5af619 (patch)
tree7650047159c2383fdedc187cf8b28a07d5415dd0 /m4
parent895aadfdb883572590189950f8aae25bf590724d (diff)
downloadgnutls-60d256bcfb174f3393a890c0dde761f49c5af619.tar.gz
Force dependency on nettle 2.5.
Diffstat (limited to 'm4')
-rw-r--r--m4/hooks.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/m4/hooks.m4 b/m4/hooks.m4
index b1be03950e..ccf8b764ea 100644
--- a/m4/hooks.m4
+++ b/m4/hooks.m4
@@ -81,12 +81,12 @@ dnl fi
AC_MSG_CHECKING([whether to use nettle])
if test "$cryptolib" = "nettle";then
AC_MSG_RESULT(yes)
- AC_LIB_HAVE_LINKFLAGS([nettle], [hogweed gmp], [#include <nettle/ripemd160.h>],
- [ripemd160_init (0)])
+ AC_LIB_HAVE_LINKFLAGS([nettle], [hogweed gmp], [#include <nettle/rsa.h>],
+ [rsa_decrypt_tr (0,0,0,0,0,0,0)])
if test "$ac_cv_libnettle" != yes; then
AC_MSG_ERROR([[
***
- *** Libnettle 2.4 was not found. You must compile nettle with gmp support.
+ *** Libnettle 2.5 was not found. Note that you must compile nettle with gmp support.
]])
fi
else