diff --git a/programs/ssl/query_config.c b/programs/ssl/query_config.c index 574d4d7a5..6a1cb1bb7 100644 --- a/programs/ssl/query_config.c +++ b/programs/ssl/query_config.c @@ -2754,6 +2754,38 @@ int query_config( const char *config ) } #endif /* MBEDTLS_SSL_CONF_RNG */ +#if defined(MBEDTLS_SSL_CONF_MIN_MINOR_VER) + if( strcmp( "MBEDTLS_SSL_CONF_MIN_MINOR_VER", config ) == 0 ) + { + MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_CONF_MIN_MINOR_VER ); + return( 0 ); + } +#endif /* MBEDTLS_SSL_CONF_MIN_MINOR_VER */ + +#if defined(MBEDTLS_SSL_CONF_MAX_MINOR_VER) + if( strcmp( "MBEDTLS_SSL_CONF_MAX_MINOR_VER", config ) == 0 ) + { + MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_CONF_MAX_MINOR_VER ); + return( 0 ); + } +#endif /* MBEDTLS_SSL_CONF_MAX_MINOR_VER */ + +#if defined(MBEDTLS_SSL_CONF_MIN_MAJOR_VER) + if( strcmp( "MBEDTLS_SSL_CONF_MIN_MAJOR_VER", config ) == 0 ) + { + MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_CONF_MIN_MAJOR_VER ); + return( 0 ); + } +#endif /* MBEDTLS_SSL_CONF_MIN_MAJOR_VER */ + +#if defined(MBEDTLS_SSL_CONF_MAX_MAJOR_VER) + if( strcmp( "MBEDTLS_SSL_CONF_MAX_MAJOR_VER", config ) == 0 ) + { + MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_CONF_MAX_MAJOR_VER ); + return( 0 ); + } +#endif /* MBEDTLS_SSL_CONF_MAX_MAJOR_VER */ + #if defined(MBEDTLS_SSL_CONF_EXTENDED_MASTER_SECRET) if( strcmp( "MBEDTLS_SSL_CONF_EXTENDED_MASTER_SECRET", config ) == 0 ) {