aboutsummaryrefslogtreecommitdiffstats
path: root/src/hash
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-01-21 18:40:27 +0000
committerlloyd <[email protected]>2010-01-21 18:40:27 +0000
commit59471c89f3ef3f9c65fa5f05b1a2159d5b63d200 (patch)
treec010581752f27b1f749ae7cfe3a3b0031e491f03 /src/hash
parentf2ce59496c23d4ff431a69aa4aedf2bf38d4230a (diff)
s/j/i/ in loop
Diffstat (limited to 'src/hash')
-rw-r--r--src/hash/sha1/sha160.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash/sha1/sha160.cpp b/src/hash/sha1/sha160.cpp
index ff44593f6..1ad08d483 100644
--- a/src/hash/sha1/sha160.cpp
+++ b/src/hash/sha1/sha160.cpp
@@ -134,8 +134,8 @@ void SHA_160::compress_n(const byte input[], u32bit blocks)
*/
void SHA_160::copy_out(byte output[])
{
- for(u32bit j = 0; j != OUTPUT_LENGTH; j += 4)
- store_be(digest[j/4], output + j);
+ for(u32bit i = 0; i != OUTPUT_LENGTH; i += 4)
+ store_be(digest[i/4], output + i);
}
/*