Change HAVE_NETTLEHASH compile-time to HAVE_CRYPTOHASH.

HAVE_NETTLEHASH is retained for backwards compatibility, but deprecated.
This commit is contained in:
Simon Kelley committed 2021-01-24 21:53:28 +00:00
1 parent e75069f79a
commit a69b017902
5 files changed
+15 -9

No files matched your search

+5 -1
View File
@@ -157,7 +157,11 @@ extern int capget(cap_user_header_t header, cap_user_data_t data);
#include <priv.h>
#endif
#if defined(HAVE_DNSSEC) || defined(HAVE_NETTLEHASH)
/* Backwards compat with 2.83 */
#if defined(HAVE_NETTLEHASH)
# define HAVE_CRYPTOHASH
#endif
#if defined(HAVE_DNSSEC) || defined(HAVE_CRYPTOHASH)
# include <nettle/nettle-meta.h>
#endif