diff options
author | Othmar Gsenger <otti@anytun.org> | 2008-01-08 20:50:30 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2008-01-08 20:50:30 +0000 |
commit | de795cdff551d444fb76c2b190eac80680b2ca65 (patch) | |
tree | 75abff3cbd3d2c11a8e589210d208a74ac53ebf2 /cypher.cpp | |
parent | included 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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) {} |