[Dnsmasq-discuss] dnsmasq 2.92 build-error against Nettle 4.0

Simon Kelley simon at thekelleys.org.uk
Sun Mar 1 12:28:14 UTC 2026


https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=4070a74862c3c956a676d2b931ff186e14f5d9f5

Should fix this. I'm short of time and only checked that it doesn't 
break with nettle 3.x

Andreas if you could rerun your test, I'd be grateful.

Cheers,

Simon


On 01.03.2026 05:52, Andreas Metzler wrote:
> Good morning,
> 
> dnsmasq FTBFS against Nettle 4.0 with
> 
> dnssec.c: In function ‘validate_rrset’:
> dnssec.c:660:29: error: passing argument 2 of ‘hash->digest’ makes pointer from integer without a cast [-Wint-conversion]
>    660 |       hash->digest(ctx, hash->digest_size, digest);
>        |                         ~~~~^~~~~~~~~~~~~
>        |                             |
>        |                             unsigned int
> dnssec.c:660:29: note: expected ‘uint8_t *’ {aka ‘unsigned char *’} but argument is of type ‘unsigned int’
> dnssec.c:660:7: error: too many arguments to function ‘hash->digest’; expected 2, have 3
> 
> cu Andreas




More information about the Dnsmasq-discuss mailing list