From 0f4e3fbd10523832ab484018a7c7d4157f5801bc Mon Sep 17 00:00:00 2001 From: Gilles Peskine Date: Tue, 3 Aug 2021 17:41:49 +0200 Subject: [PATCH] Mark output as public before testing it Signed-off-by: Gilles Peskine --- tests/suites/test_suite_base64.function | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/suites/test_suite_base64.function b/tests/suites/test_suite_base64.function index 89d799511..c0548956e 100644 --- a/tests/suites/test_suite_base64.function +++ b/tests/suites/test_suite_base64.function @@ -19,6 +19,7 @@ void mask_of_range( int low_arg, int high_arg ) TEST_CF_SECRET( &c, sizeof( c ) ); unsigned char m = mbedtls_base64_mask_of_range( low, high, c ); TEST_CF_PUBLIC( &c, sizeof( c ) ); + TEST_CF_PUBLIC( &m, sizeof( m ) ); if( low <= c && c <= high ) TEST_EQUAL( m, 0xff ); else