From 8e3602569b3b5637338e337df94fadb246e72b5f Mon Sep 17 00:00:00 2001 From: Gabor Mezei Date: Thu, 17 Feb 2022 11:50:02 +0100 Subject: [PATCH] Typo Signed-off-by: Gabor Mezei --- library/ssl_tls13_keys.c | 3 +-- tests/suites/test_suite_ssl.function | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/library/ssl_tls13_keys.c b/library/ssl_tls13_keys.c index fbd23e4d3c..885dd16fbf 100644 --- a/library/ssl_tls13_keys.c +++ b/library/ssl_tls13_keys.c @@ -230,8 +230,7 @@ psa_status_t mbedtls_psa_hkdf_expand( psa_algorithm_t alg, goto cleanup; } - /* The constant concatenated to the end of each T(n) is a single octet. - * */ + /* The constant concatenated to the end of each T(n) is a single octet. */ status = psa_mac_update( &operation, &c, 1 ); if( status != PSA_SUCCESS ) { diff --git a/tests/suites/test_suite_ssl.function b/tests/suites/test_suite_ssl.function index 0c89254647..6d3f2ee773 100644 --- a/tests/suites/test_suite_ssl.function +++ b/tests/suites/test_suite_ssl.function @@ -3853,10 +3853,10 @@ void psa_hkdf_expand_ret( int alg, int prk_len, int okm_len, int ret ) info_len = 0; - if (prk_len > 0) + if( prk_len > 0 ) ASSERT_ALLOC( prk, prk_len ); - if (okm_len > 0) + if( okm_len > 0 ) ASSERT_ALLOC( okm, okm_len ); output_ret = mbedtls_psa_hkdf_expand( alg, prk, prk_len,