summaryrefslogtreecommitdiff
path: root/cypher.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2008-01-08 20:50:30 +0000
committerOthmar Gsenger <otti@anytun.org>2008-01-08 20:50:30 +0000
commitde795cdff551d444fb76c2b190eac80680b2ca65 (patch)
tree75abff3cbd3d2c11a8e589210d208a74ac53ebf2 /cypher.cpp
parentincluded pf_key in anytun_key (needs some review) (diff)
fix in length and nullcypher (still not working)
Diffstat (limited to 'cypher.cpp')
-rw-r--r--cypher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cypher.cpp b/cypher.cpp
index 71f064d..d5ca35b 100644
--- a/cypher.cpp
+++ b/cypher.cpp
@@ -44,7 +44,7 @@ void NullCypher::cypher(Buffer& out, Buffer& in, u_int32_t length, seq_nr_t seq_
{
try
{
- for(u_int32_t i; i<length; ++i)
+ for(u_int32_t i=0; i<length; ++i)
out[i] = in[i];
}
catch(std::out_of_range& o) {}