Spell out check for non-zero'ness
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
This commit is contained in:
parent
16bf0e2346
commit
1cda2667af
@ -884,7 +884,7 @@ int mbedtls_ssl_encrypt_buf( mbedtls_ssl_context *ssl,
|
||||
/*
|
||||
* Prefix record content with dynamic IV in case it is explicit.
|
||||
*/
|
||||
if( dynamic_iv_is_explicit )
|
||||
if( dynamic_iv_is_explicit != 0 )
|
||||
{
|
||||
if( rec->data_offset < dynamic_iv_len )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user