mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-21 18:38:04 +02:00
unit tests for IV change.
This commit is contained in:
parent
323285a931
commit
23998fc06c
5 changed files with 121 additions and 72 deletions
|
@ -154,7 +154,7 @@ CClient::connect()
|
|||
|
||||
if (s_cryptoEnabled) {
|
||||
CCryptoStream* cryptoStream = new CCryptoStream(*EVENTQUEUE, m_stream, true);
|
||||
cryptoStream->setKeyWithIV(g_key, sizeof(g_key), g_iv);
|
||||
cryptoStream->setKeyWithIv(g_key, sizeof(g_key), g_iv);
|
||||
m_stream = cryptoStream;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue