Update query_config.c

This commit is contained in:
Hanno Becker 2019-02-28 14:20:44 +00:00
parent 3f8f0dc3fd
commit 4588dc4754

View File

@ -1466,6 +1466,14 @@ int query_config( const char *config )
} }
#endif /* MBEDTLS_VERSION_FEATURES */ #endif /* MBEDTLS_VERSION_FEATURES */
#if defined(MBEDTLS_X509_ON_DEMAND_PARSING)
if( strcmp( "MBEDTLS_X509_ON_DEMAND_PARSING", config ) == 0 )
{
MACRO_EXPANSION_TO_STR( MBEDTLS_X509_ON_DEMAND_PARSING );
return( 0 );
}
#endif /* MBEDTLS_X509_ON_DEMAND_PARSING */
#if defined(MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3) #if defined(MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3)
if( strcmp( "MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3", config ) == 0 ) if( strcmp( "MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3", config ) == 0 )
{ {