commit | 1cda2667afb0bb654db712321b1cd84b6028c34a | [log] [tgz] |
---|---|---|
author | Hanno Becker <hanno.becker@arm.com> | Thu Jun 04 13:28:28 2020 +0100 |
committer | Hanno Becker <hanno.becker@arm.com> | Thu Jun 04 13:28:44 2020 +0100 |
tree | e5930e48825739e4c2b002d31181ce73ba56ab3b | |
parent | 16bf0e234663936ff533292ef64fba7001f694dc [diff] [blame] |
Spell out check for non-zero'ness Signed-off-by: Hanno Becker <hanno.becker@arm.com>
diff --git a/library/ssl_msg.c b/library/ssl_msg.c index 26f30b5..65eab4b 100644 --- a/library/ssl_msg.c +++ b/library/ssl_msg.c
@@ -884,7 +884,7 @@ /* * 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 ) {