mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 19:54:21 +01:00
Add MBEDTLS_PSA_CRYPTO_CONFIG to test program
Since the recent changes required the addition of a new definition in mbedtls/config.h, we also need to update query_config.c to account for the new MBEDTLS_PSA_CRYPTO_CONFIG setting. Signed-off-by: John Durkop <john.durkop@fermatsoftware.com>
This commit is contained in:
parent
2dfaf9ca23
commit
2542c21ba8
@ -1592,6 +1592,14 @@ int query_config( const char *config )
|
|||||||
}
|
}
|
||||||
#endif /* MBEDTLS_USE_PSA_CRYPTO */
|
#endif /* MBEDTLS_USE_PSA_CRYPTO */
|
||||||
|
|
||||||
|
#if defined(MBEDTLS_PSA_CRYPTO_CONFIG)
|
||||||
|
if( strcmp( "MBEDTLS_PSA_CRYPTO_CONFIG", config ) == 0 )
|
||||||
|
{
|
||||||
|
MACRO_EXPANSION_TO_STR( MBEDTLS_PSA_CRYPTO_CONFIG );
|
||||||
|
return( 0 );
|
||||||
|
}
|
||||||
|
#endif /* MBEDTLS_PSA_CRYPTO_CONFIG */
|
||||||
|
|
||||||
#if defined(MBEDTLS_VERSION_FEATURES)
|
#if defined(MBEDTLS_VERSION_FEATURES)
|
||||||
if( strcmp( "MBEDTLS_VERSION_FEATURES", config ) == 0 )
|
if( strcmp( "MBEDTLS_VERSION_FEATURES", config ) == 0 )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user