[AC_MSG_ERROR('You need Nettle cryptographic library.')])
saved_LIBS=$LIBS
- AC_CHECK_LIB(nettle, nettle_sha512_init,,
- [AC_MSG_ERROR('You need Nettle library version 2.1 or more recent.')])
+ AC_CHECK_LIB(nettle, nettle_ripemd160_init,,
+ [AC_MSG_ERROR('You need Nettle library version 2.4 or more recent.')])
CRYPTO_LIBS=$LIBS
LIBS=$saved_LIBS
- AC_MSG_WARN([Nettle backend does NOT provide backward compatibility (missing ripemd160 hash).])
-
CRYPTO_STATIC_LIBS=$CRYPTO_LIBS
])