Skip to content

os: fix sha1 build error with Nettle 4.0#2185

Open
metux wants to merge 1 commit intorelease/25.1from
pr/25.1/os-fix-sha1-build-error-with-nettle-4-0-_2026-04-13_12-29-53
Open

os: fix sha1 build error with Nettle 4.0#2185
metux wants to merge 1 commit intorelease/25.1from
pr/25.1/os-fix-sha1-build-error-with-nettle-4-0-_2026-04-13_12-29-53

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:29
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 pushed a commit that referenced this pull request Apr 13, 2026
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.

2 participants