mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 05:55:29 +00:00
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 a new issue