From c5db66af2f15ecbd80de16aaa142b8665f9b477d Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Mon, 1 Jul 2019 18:11:25 +0100 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 cda71fd4e..574d4d7a5 100644 --- a/programs/ssl/query_config.c +++ b/programs/ssl/query_config.c @@ -2770,6 +2770,14 @@ int query_config( const char *config ) } #endif /* MBEDTLS_SSL_CONF_ENFORCE_EXTENDED_MASTER_SECRET */ +#if defined(MBEDTLS_SSL_CONF_SINGLE_CIPHERSUITE) + if( strcmp( "MBEDTLS_SSL_CONF_SINGLE_CIPHERSUITE", config ) == 0 ) + { + MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_CONF_SINGLE_CIPHERSUITE ); + return( 0 ); + } +#endif /* MBEDTLS_SSL_CONF_SINGLE_CIPHERSUITE */ + /* If the symbol is not found, return an error */ return( 1 ); }