From 4588dc475461e9c00023e54c260cf407ae2b6f1d Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Thu, 28 Feb 2019 14:20:44 +0000 Subject: [PATCH] Update query_config.c --- programs/ssl/query_config.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/programs/ssl/query_config.c b/programs/ssl/query_config.c index ab3c772ab..a00847208 100644 --- a/programs/ssl/query_config.c +++ b/programs/ssl/query_config.c @@ -1466,6 +1466,14 @@ int query_config( const char *config ) } #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( strcmp( "MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3", config ) == 0 ) {