Skip to content

[pull] develop from NLnetLabs:develop#35

Merged
pull[bot] merged 2 commits into
webforfutureinc:developfrom
NLnetLabs:develop
Jun 18, 2026
Merged

[pull] develop from NLnetLabs:develop#35
pull[bot] merged 2 commits into
webforfutureinc:developfrom
NLnetLabs:develop

Conversation

@pull

@pull pull Bot commented Jun 18, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

liweitianux and others added 2 commits June 18, 2026 11:30
When '-Wundef' is specified, compiling sha2.c would give the following
warning:

```
In file included from ./sha2.c:46:
./ldns/sha2.h:52:5: warning: ‘LDNS_BUILD_CONFIG_HAVE_INTTYPES_H’ is not defined, evaluates to ‘0’ [-Wundef]
   52 | #if LDNS_BUILD_CONFIG_HAVE_INTTYPES_H
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
```

Fix this warning by adding the necessary <ldns/common.h> include to
sha2.c.

Meanwhile, adjust sha1.c to only include necessary headers, similar to
sha2.c.
Fix -Wundef warning in sha2.c
@pull pull Bot locked and limited conversation to collaborators Jun 18, 2026
@pull pull Bot added the ⤵️ pull label Jun 18, 2026
@pull
pull Bot merged commit 4bf706f into webforfutureinc:develop Jun 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants