Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update src/common/sha1.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Twice <twice@apache.org>
tanruixiang and PragmaTwice authored Nov 13, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent ddfa489 commit d5a7ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/sha1.cc
Original file line number Diff line number Diff line change
@@ -79,7 +79,7 @@ A million repetitions of "a"

void SHA1Transform(uint32_t state[5], const unsigned char buffer[64]) {
uint32_t a, b, c, d, e;
using CHAR64LONG16 = union {
union CHAR64LONG16 {
unsigned char c[64];
uint32_t l[16];
};

0 comments on commit d5a7ec0

Please sign in to comment.