Skip to content

os: fix sha1 build error with Nettle 4.0#2186

Merged
metux merged 1 commit intorelease/25.0from
pr/25.0/os-fix-sha1-build-error-with-nettle-4-0-_2026-04-13_12-30-17
Apr 18, 2026
Merged

os: fix sha1 build error with Nettle 4.0#2186
metux merged 1 commit intorelease/25.0from
pr/25.0/os-fix-sha1-build-error-with-nettle-4-0-_2026-04-13_12-30-17

Conversation

@metux
Copy link
Copy Markdown
Contributor

@metux metux commented Apr 13, 2026

Nettle 2.6 (released in 2013) split the sha.h header into sha1.h & sha2.h,
but left the sha.h header for compatibility until the recent Nettle 4.0
release finally removed it.

Nettle 4.0 also dropped the length argument from the sha1_digest function.

Closes: #1871
Signed-off-by: Alan Coopersmith alan.coopersmith@oracle.com
Part-of: https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2133

@metux metux added this to the 25.0.x bugfix milestone Apr 13, 2026
@metux metux self-assigned this Apr 13, 2026
@metux metux requested a review from a team April 13, 2026 10:30
metux pushed a commit that referenced this pull request Apr 13, 2026
Nettle 2.6 (released in 2013) split the sha.h header into sha1.h & sha2.h,
but left the sha.h header for compatibility until the recent Nettle 4.0
release finally removed it.

Nettle 4.0 also dropped the length argument from the sha1_digest function.

Closes: #1871
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2133>
@metux metux force-pushed the pr/25.0/os-fix-sha1-build-error-with-nettle-4-0-_2026-04-13_12-30-17 branch from c46d647 to 6bfecee Compare April 17, 2026 16:52
@metux metux merged commit 0f5ea2a into release/25.0 Apr 18, 2026
8 checks passed
@metux metux deleted the pr/25.0/os-fix-sha1-build-error-with-nettle-4-0-_2026-04-13_12-30-17 branch April 18, 2026 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants