diff options
Diffstat (limited to 'libtests')
-rw-r--r-- | libtests/rc4.cc | 2 |
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; } |