From 3c830c4f1c68f4f07ca012bbd4cebc3e12c21d2d Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 31 Jan 2026 23:25:22 +0100 Subject: [PATCH] Avoid uninitialized-value warnings from the compiler --- src/dnssec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dnssec.c b/src/dnssec.c index 952084c..856d792 100644 --- a/src/dnssec.c +++ b/src/dnssec.c @@ -1556,7 +1556,7 @@ static int prove_non_existence_nsec3(struct dns_header *header, size_t plen, uns { unsigned char *salt, *p, *digest; int digest_len, i, iterations, salt_len, base32_len, algo = 0; - struct nettle_hash const *hash; + struct nettle_hash const *hash = NULL; char *closest_encloser, *next_closest, *wildcard; if (nons)