mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 06:35:31 +00:00
Update query_config.c with new macros
This commit is contained in:
parent
ef672f0319
commit
8645f733cf
|
@ -253,6 +253,14 @@ int query_config( const char *config )
|
|||
}
|
||||
#endif /* MBEDTLS_DEPRECATED_REMOVED */
|
||||
|
||||
#if defined(MBEDTLS_CHECK_PARAMS)
|
||||
if( strcmp( "MBEDTLS_CHECK_PARAMS", config ) == 0 )
|
||||
{
|
||||
MACRO_EXPANSION_TO_STR( MBEDTLS_CHECK_PARAMS );
|
||||
return( 0 );
|
||||
}
|
||||
#endif /* MBEDTLS_CHECK_PARAMS */
|
||||
|
||||
#if defined(MBEDTLS_TIMING_ALT)
|
||||
if( strcmp( "MBEDTLS_TIMING_ALT", config ) == 0 )
|
||||
{
|
||||
|
@ -933,6 +941,14 @@ int query_config( const char *config )
|
|||
}
|
||||
#endif /* MBEDTLS_ECP_NIST_OPTIM */
|
||||
|
||||
#if defined(MBEDTLS_ECP_RESTARTABLE)
|
||||
if( strcmp( "MBEDTLS_ECP_RESTARTABLE", config ) == 0 )
|
||||
{
|
||||
MACRO_EXPANSION_TO_STR( MBEDTLS_ECP_RESTARTABLE );
|
||||
return( 0 );
|
||||
}
|
||||
#endif /* MBEDTLS_ECP_RESTARTABLE */
|
||||
|
||||
#if defined(MBEDTLS_ECDSA_DETERMINISTIC)
|
||||
if( strcmp( "MBEDTLS_ECDSA_DETERMINISTIC", config ) == 0 )
|
||||
{
|
||||
|
@ -2069,6 +2085,14 @@ int query_config( const char *config )
|
|||
}
|
||||
#endif /* MBEDTLS_CTR_DRBG_MAX_SEED_INPUT */
|
||||
|
||||
#if defined(MBEDTLS_CTR_DRBG_USE_128_BIT_KEY)
|
||||
if( strcmp( "MBEDTLS_CTR_DRBG_USE_128_BIT_KEY", config ) == 0 )
|
||||
{
|
||||
MACRO_EXPANSION_TO_STR( MBEDTLS_CTR_DRBG_USE_128_BIT_KEY );
|
||||
return( 0 );
|
||||
}
|
||||
#endif /* MBEDTLS_CTR_DRBG_USE_128_BIT_KEY */
|
||||
|
||||
#if defined(MBEDTLS_HMAC_DRBG_RESEED_INTERVAL)
|
||||
if( strcmp( "MBEDTLS_HMAC_DRBG_RESEED_INTERVAL", config ) == 0 )
|
||||
{
|
||||
|
|
|
@ -29,6 +29,7 @@ my $query_config_file = "./programs/ssl/query_config.c";
|
|||
# throw errors.
|
||||
my @excluded = qw(
|
||||
MBEDTLS_SSL_CIPHERSUITES
|
||||
MBEDTLS_PARAM_FAILED
|
||||
);
|
||||
my $excluded_re = join '|', @excluded;
|
||||
|
||||
|
|
Loading…
Reference in a new issue