mirror of
https://github.com/debauchee/barrier.git
synced 2025-06-16 17:51:42 +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
|
@ -838,7 +838,7 @@ CServerProxy::cryptoIv()
|
|||
LOG((CLOG_DEBUG2 "recv crypto iv size=%i", s.size()));
|
||||
|
||||
// forward
|
||||
m_client->setCryptoIv(reinterpret_cast<const UInt8*>(s.c_str()));
|
||||
m_client->setDecryptIv(reinterpret_cast<const UInt8*>(s.c_str()));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue