Support hash function from nettle (only)

Unlike COPTS=-DHAVE_DNSSEC, allow usage of just sha256 function from
nettle, but keep DNSSEC disabled at build time. Skips use of internal
hash implementation without support for validation built-in.
This commit is contained in:
Petr Menšík authored and Simon Kelley committed 2020-12-16 15:49:03 +00:00
1 parent 25e63f1e56
commit 2024f97297
6 files changed
+44 -24

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@
#include "dnsmasq.h"
#ifdef HAVE_DNSSEC
#if defined(HAVE_DNSSEC) || defined(HAVE_NETTLEHASH)
unsigned char *hash_questions(struct dns_header *header, size_t plen, char *name)
{
int q;