mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-17 03:20:40 +08:00
unit tests for IV change.
This commit is contained in:
@@ -151,7 +151,7 @@ CClientListener::handleClientConnecting(const CEvent&, void*)
|
||||
|
||||
if (s_cryptoEnabled) {
|
||||
CCryptoStream* cryptoStream = new CCryptoStream(*EVENTQUEUE, stream, true);
|
||||
cryptoStream->setKeyWithIV(g_key, sizeof(g_key), g_iv);
|
||||
cryptoStream->setKeyWithIv(g_key, sizeof(g_key), g_iv);
|
||||
stream = cryptoStream;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user