Skip to content

Commit 774d663

Browse files
authored
Update sha1.h
1 parent 629e657 commit 774d663

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sha1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ SHA1_WORD sha1_K(uint8_t t) {
4444
}
4545

4646
SHA1_WORD sha1_Sn(SHA1_WORD X, uint8_t n) {
47-
return (X << n) | (X >> 32 - n);
47+
return (X << n) | (X >> (32 - n));
4848
}
4949

5050
// return copy of array that is padded

0 commit comments

Comments
 (0)