ssl test ssl_decrypt_non_etm_cbc(): add missing ret check
Signed-off-by: Przemyslaw Stekiel <przemyslaw.stekiel@mobica.com>
This commit is contained in:
parent
f4ca3f0e52
commit
4a36dd3da6
1 changed files with 2 additions and 0 deletions
|
@ -3592,6 +3592,8 @@ void ssl_decrypt_non_etm_cbc( int cipher_type, int hash_id, int trunc_hmac,
|
||||||
MBEDTLS_SSL_MINOR_VERSION_3,
|
MBEDTLS_SSL_MINOR_VERSION_3,
|
||||||
0 , 0 );
|
0 , 0 );
|
||||||
|
|
||||||
|
TEST_ASSERT( ret == 0 );
|
||||||
|
|
||||||
/* Determine padding/plaintext length */
|
/* Determine padding/plaintext length */
|
||||||
TEST_ASSERT( length_selector >= -2 && length_selector <= 255 );
|
TEST_ASSERT( length_selector >= -2 && length_selector <= 255 );
|
||||||
block_size = t0.ivlen;
|
block_size = t0.ivlen;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue