forked from wolfSSL/wolfssl
updated comment for aead in SanityCheckCipherText()
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user