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:
Nick Bolton 2013-05-01 15:53:22 +00:00
parent 119d4cfa11
commit e8ed977a8f
9 changed files with 111 additions and 64 deletions

View file

@ -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);
}
}