diff options
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;
|
