diff options
| author | ame <[email protected]> | 2025-07-24 02:32:37 -0500 |
|---|---|---|
| committer | ame <[email protected]> | 2025-07-24 02:32:37 -0500 |
| commit | ed2dd6874a905769c5cfc080333ab0b12f9a9fe8 (patch) | |
| tree | 60e29dbb01635dc9a94e02709520baea1b63d5fe /src/hash/sha01.c | |
| parent | b392bec30ebdd4c84446623193b82531b8001b88 (diff) | |
errors and then,, yknow fix them
Diffstat (limited to 'src/hash/sha01.c')
| -rw-r--r-- | src/hash/sha01.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/sha01.c b/src/hash/sha01.c index f5478dd..4d05e7e 100644 --- a/src/hash/sha01.c +++ b/src/hash/sha01.c @@ -43,7 +43,7 @@ void sha01_round(struct sha01_hash* hash){ for(int i = 0; i != 16; i++){
int t = 24;
- for(int x = 0;t>=0; x++){
+ for(;t>=0;){
W[i] += (((uint32_t)hash->buffer[hat]) << t);
hat++;
t-=8;
|
