Avoid uninitialized-value warnings from the compiler

This commit is contained in:
Matthias Andree
2026-01-31 23:25:22 +01:00
committed by Simon Kelley
parent e9f400dd37
commit 3c830c4f1c

View File

@@ -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)