]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
check for nettle 2.4 or later
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 10 Oct 2011 16:35:29 +0000 (18:35 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Mon, 10 Oct 2011 16:35:29 +0000 (18:35 +0200)
m4/hooks.m4

index f093e3cfd19ee4f69719b0617b9494759f5dd5e3..97bbe92382e41e338d0ad188f37e04e8b83bab1f 100644 (file)
@@ -82,12 +82,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/gcm.h>],
-                          [gcm_set_iv (0, 0, 0, 0)])
+    AC_LIB_HAVE_LINKFLAGS([nettle], [hogweed gmp], [#include <nettle/ripemd160.h>],
+                          [ripemd160_init (0)])
     if test "$ac_cv_libnettle" != yes; then
       AC_MSG_ERROR([[
   *** 
-  *** Libnettle 2.2 was not found. 
+  *** Libnettle 2.4 was not found. 
   ]])
     fi
 else