aboutsummaryrefslogtreecommitdiffstats
path: root/libtests/rc4.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libtests/rc4.cc')
-rw-r--r--libtests/rc4.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtests/rc4.cc b/libtests/rc4.cc
index 1b1a8744..a6a1328e 100644
--- a/libtests/rc4.cc
+++ b/libtests/rc4.cc
@@ -18,7 +18,7 @@ other_tests()
RC4 r(reinterpret_cast<unsigned char const*>("quack"));
auto data = std::make_unique<unsigned char[]>(6);
memcpy(data.get(), "potato", 6);
- r.process(data.get(), 6);
+ r.process(data.get(), 6, data.get());
assert(memcmp(data.get(), "\xa5\x6f\xe7\x27\x2b\x5c", 6) == 0);
std::cout << "passed" << std::endl;
}