Add MBEDTLS_TEST_HOOKS to query_config.c

Signed-off-by: Chris Jones <[email protected]>
This commit is contained in:
Chris Jones
2021-02-22 19:40:41 +01:00
committed by Gilles Peskine
parent ed9f7989f2
commit 6855d1a457
+8
View File
@@ -1475,6 +1475,14 @@ int query_config( const char *config )
}
#endif /* MBEDTLS_SSL_TRUNCATED_HMAC_COMPAT */
#if defined(MBEDTLS_TEST_HOOKS)
if( strcmp( "MBEDTLS_TEST_HOOKS", config ) == 0 )
{
MACRO_EXPANSION_TO_STR( MBEDTLS_TEST_HOOKS );
return( 0 );
}
#endif /* MBEDTLS_TEST_HOOKS */
#if defined(MBEDTLS_THREADING_ALT)
if( strcmp( "MBEDTLS_THREADING_ALT", config ) == 0 )
{