Add new compile-time options to programs/ssl/query_config.c

This commit is contained in:
Hanno Becker 2019-06-14 09:47:45 +01:00
parent f1c2a33189
commit 0f902b71a8

View File

@ -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 )
{