From 4de5a6096be82e4e4c65d7f70c36bd449fc6472b Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Mon, 7 Jun 2021 20:56:20 +0200 Subject: [PATCH] Add missing parentheses Signed-off-by: Gilles Peskine --- library/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/debug.c b/library/debug.c index a9820bfdb..e1086008a 100644 --- a/library/debug.c +++ b/library/debug.c @@ -246,7 +246,7 @@ void mbedtls_debug_print_mpi( const mbedtls_ssl_context *ssl, int level, else { int n; - for( n = (int) ( bitlen - 1 ) / 8; n >= 0; n-- ) + for( n = (int) ( ( bitlen - 1 ) / 8 ); n >= 0; n-- ) { size_t limb_offset = n / sizeof( mbedtls_mpi_uint ); size_t offset_in_limb = n % sizeof( mbedtls_mpi_uint );