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

Andreas Metzler ametzler at bebt.de
Sun Mar 1 05:52:51 UTC 2026


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
-- 
"You people are noisy," Nia said.
I made the gesture of agreement.



More information about the Dnsmasq-discuss mailing list