updated comment for aead in SanityCheckCipherText()

pull/1/head
John Safranek 2012-12-27 19:51:06 -08:00
parent 561906cffd
commit 7ac6a21af5
1 changed files with 1 additions and 1 deletions

View File

@ -3139,7 +3139,7 @@ static int SanityCheckCipherText(CYASSL* ssl, word32 encryptSz)
minLength = ssl->specs.hash_size; minLength = ssl->specs.hash_size;
} }
else if (ssl->specs.cipher_type == aead) { else if (ssl->specs.cipher_type == aead) {
minLength = ssl->specs.block_size; /* actual min? */ minLength = ssl->specs.block_size; /* explicit IV + implicit IV + CTR*/
} }
if (encryptSz < minLength) { if (encryptSz < minLength) {