Update query config with VSNPRINTF macro

This commit is contained in:
Andres Amaya Garcia 2019-02-11 21:55:09 +00:00
parent 17c53c5c1e
commit 54efcb7ff0

View File

@ -234,6 +234,14 @@ int query_config( const char *config )
} }
#endif /* MBEDTLS_PLATFORM_SNPRINTF_ALT */ #endif /* MBEDTLS_PLATFORM_SNPRINTF_ALT */
#if defined(MBEDTLS_PLATFORM_VSNPRINTF_ALT)
if( strcmp( "MBEDTLS_PLATFORM_VSNPRINTF_ALT", config ) == 0 )
{
MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_VSNPRINTF_ALT );
return( 0 );
}
#endif /* MBEDTLS_PLATFORM_VSNPRINTF_ALT */
#if defined(MBEDTLS_PLATFORM_NV_SEED_ALT) #if defined(MBEDTLS_PLATFORM_NV_SEED_ALT)
if( strcmp( "MBEDTLS_PLATFORM_NV_SEED_ALT", config ) == 0 ) if( strcmp( "MBEDTLS_PLATFORM_NV_SEED_ALT", config ) == 0 )
{ {
@ -2362,6 +2370,14 @@ int query_config( const char *config )
} }
#endif /* MBEDTLS_PLATFORM_SNPRINTF_MACRO */ #endif /* MBEDTLS_PLATFORM_SNPRINTF_MACRO */
#if defined(MBEDTLS_PLATFORM_VSNPRINTF_MACRO)
if( strcmp( "MBEDTLS_PLATFORM_VSNPRINTF_MACRO", config ) == 0 )
{
MACRO_EXPANSION_TO_STR( MBEDTLS_PLATFORM_VSNPRINTF_MACRO );
return( 0 );
}
#endif /* MBEDTLS_PLATFORM_VSNPRINTF_MACRO */
#if defined(MBEDTLS_PLATFORM_NV_SEED_READ_MACRO) #if defined(MBEDTLS_PLATFORM_NV_SEED_READ_MACRO)
if( strcmp( "MBEDTLS_PLATFORM_NV_SEED_READ_MACRO", config ) == 0 ) if( strcmp( "MBEDTLS_PLATFORM_NV_SEED_READ_MACRO", config ) == 0 )
{ {