From a7ac412dcdc8786945c253b946ec6ccadfb62025 Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Tue, 5 Mar 2019 17:40:40 +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 a00847208..39053838d 100644 --- a/programs/ssl/query_config.c +++ b/programs/ssl/query_config.c @@ -1474,6 +1474,14 @@ int query_config( const char *config ) } #endif /* MBEDTLS_X509_ON_DEMAND_PARSING */ +#if defined(MBEDTLS_X509_ALWAYS_FLUSH) + if( strcmp( "MBEDTLS_X509_ALWAYS_FLUSH", config ) == 0 ) + { + MACRO_EXPANSION_TO_STR( MBEDTLS_X509_ALWAYS_FLUSH ); + return( 0 ); + } +#endif /* MBEDTLS_X509_ALWAYS_FLUSH */ + #if defined(MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3) if( strcmp( "MBEDTLS_X509_ALLOW_EXTENSIONS_NON_V3", config ) == 0 ) {