commit | 3d7439e90f304d09690d8efc3d83a88282e92dc9 | [log] [tgz] |
---|---|---|
author | Arto Kinnunen <arto.kinnunen@arm.com> | Tue Sep 10 11:30:40 2019 +0300 |
committer | Arto Kinnunen <arto.kinnunen@arm.com> | Tue Sep 10 11:30:40 2019 +0300 |
tree | a423c9f92e89594ffadf20fb80aabb2febef1fab | |
parent | 84eeb4fd96e724aedd4477f3faaadf0b5da268f9 [diff] [blame] |
Review corrections 6 -Explicitly discard unnecessary return values of mbedtls_platform_put_uintXX_be by adding void casting.
diff --git a/library/ssl_ticket.c b/library/ssl_ticket.c index 69e14cf..285e736 100644 --- a/library/ssl_ticket.c +++ b/library/ssl_ticket.c
@@ -222,7 +222,7 @@ goto cleanup; } - mbedtls_platform_put_uint16_be( state_len_bytes, clear_len ); + (void)mbedtls_platform_put_uint16_be( state_len_bytes, clear_len ); /* Encrypt and authenticate */ tag = state + clear_len;