From 27298780468b8414ec2d2d9f558f87f400d711f2 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