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

Output digest[i] as an integer, rather than a character, in sha1.hpp #893

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

pdimov
Copy link
Member

@pdimov pdimov commented Aug 22, 2024

The fix in #887 is slightly incorrect, because digest[i] is unsigned char and is output as a character to buf. This changes it to be output as an integer, as intended.

It makes the test added in #892 pass.

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