Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook-up endianness & sizeof(long) detection code in SHA-1 implementation #90

Merged
merged 1 commit into from
Feb 23, 2019
Merged

Conversation

oxan
Copy link

@oxan oxan commented Feb 22, 2019

This makes the SHA-1 implementation valid for big endian architectures as well.

(This was triggered by a build failure of the Debian packaging on s390x, see https://buildd.debian.org/status/fetch.php?pkg=postsrsd&arch=s390x&ver=1.5-1&stamp=1548202296&raw=0).

This makes the SHA-1 implementation valid for big endian architectures
as well.
@oxan
Copy link
Author

oxan commented Feb 22, 2019

Test failure is presumably due to #89 (with that change it passes the tests for me).

@roehling
Copy link
Owner

Thank you very much!

@roehling roehling merged commit 0b8f8be into roehling:master Feb 23, 2019
@roehling
Copy link
Owner

I drafted a new release with your bugfix, as it is a rather important fix ;-)

jeredfloyd pushed a commit to jeredfloyd/postsrsd that referenced this pull request May 4, 2022
…ion (roehling#90)

This makes the SHA-1 implementation valid for big endian architectures
as well.
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