From 60d6516c60edff75b0c60a177f70604167b6bc8b Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Thu, 2 Apr 2020 19:50:00 +0200 Subject: [PATCH] Fix whitespace style Signed-off-by: Gilles Peskine --- library/hkdf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/hkdf.c b/library/hkdf.c index 379035ddb..3b9942c00 100644 --- a/library/hkdf.c +++ b/library/hkdf.c @@ -115,7 +115,7 @@ int mbedtls_hkdf_expand( const mbedtls_md_info_t *md, const unsigned char *prk, n = okm_len / hash_len; - if( (okm_len % hash_len) != 0 ) + if( okm_len % hash_len != 0 ) { n++; } @@ -131,7 +131,7 @@ int mbedtls_hkdf_expand( const mbedtls_md_info_t *md, const unsigned char *prk, mbedtls_md_init( &ctx ); - if( (ret = mbedtls_md_setup( &ctx, md, 1) ) != 0 ) + if( ( ret = mbedtls_md_setup( &ctx, md, 1 ) ) != 0 ) { goto exit; }