aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/gost_28147/gost_28147.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-09-07 19:15:44 +0000
committerlloyd <[email protected]>2010-09-07 19:15:44 +0000
commit8713326a6cb821097dd4793555d9dc0e800d7d8a (patch)
tree3196f100563d0d92de4fdf62f0cb4525f0d3f39f /src/block/gost_28147/gost_28147.cpp
parentbd7c90c4cb9691848e2edaf4bb185146417538c2 (diff)
Prevent shadowing of one loop param with another
Diffstat (limited to 'src/block/gost_28147/gost_28147.cpp')
-rw-r--r--src/block/gost_28147/gost_28147.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/gost_28147/gost_28147.cpp b/src/block/gost_28147/gost_28147.cpp
index 2dfce0473..3844fd441 100644
--- a/src/block/gost_28147/gost_28147.cpp
+++ b/src/block/gost_28147/gost_28147.cpp
@@ -125,7 +125,7 @@ void GOST_28147_89::decrypt_n(const byte in[], byte out[], u32bit blocks) const
GOST_2ROUND(N1, N2, 4, 5);
GOST_2ROUND(N1, N2, 6, 7);
- for(size_t i = 0; i != 3; ++i)
+ for(size_t j = 0; j != 3; ++j)
{
GOST_2ROUND(N1, N2, 7, 6);
GOST_2ROUND(N1, N2, 5, 4);