mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-21 02:17:37 +02:00
fixed: issue 3565 - encryption fails with heavy network traffic.
changed encrypt and decrypt to be asymmetrical (iv change now applies only in one direction).
This commit is contained in:
parent
119d4cfa11
commit
e8ed977a8f
9 changed files with 111 additions and 64 deletions
|
@ -194,10 +194,10 @@ CClient::handshakeComplete()
|
|||
}
|
||||
|
||||
void
|
||||
CClient::setCryptoIv(const UInt8* iv)
|
||||
CClient::setDecryptIv(const UInt8* iv)
|
||||
{
|
||||
if (m_cryptoStream != NULL) {
|
||||
m_cryptoStream->setIv(iv);
|
||||
m_cryptoStream->setDecryptIv(iv);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue