Update generated files

Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
Andrzej Kurek 2020-12-07 09:30:54 -05:00
parent 131512440e
commit b22e64045b
2 changed files with 44 additions and 0 deletions

View File

@ -33,6 +33,9 @@
static const char *features[] = { static const char *features[] = {
#if defined(MBEDTLS_VERSION_FEATURES) #if defined(MBEDTLS_VERSION_FEATURES)
#if defined(MBEDTLS_DELAYED_SERVER_CERT_VERIFICATION)
"MBEDTLS_DELAYED_SERVER_CERT_VERIFICATION",
#endif /* MBEDTLS_DELAYED_SERVER_CERT_VERIFICATION */
#if defined(MBEDTLS_HAVE_ASM) #if defined(MBEDTLS_HAVE_ASM)
"MBEDTLS_HAVE_ASM", "MBEDTLS_HAVE_ASM",
#endif /* MBEDTLS_HAVE_ASM */ #endif /* MBEDTLS_HAVE_ASM */
@ -489,6 +492,15 @@ static const char *features[] = {
#if defined(MBEDTLS_SSL_KEEP_PEER_CERTIFICATE) #if defined(MBEDTLS_SSL_KEEP_PEER_CERTIFICATE)
"MBEDTLS_SSL_KEEP_PEER_CERTIFICATE", "MBEDTLS_SSL_KEEP_PEER_CERTIFICATE",
#endif /* MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */ #endif /* MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */
#if defined(MBEDTLS_SSL_FREE_SERVER_CERTIFICATE)
"MBEDTLS_SSL_FREE_SERVER_CERTIFICATE",
#endif /* MBEDTLS_SSL_FREE_SERVER_CERTIFICATE */
#if defined(MBEDTLS_IMMEDIATE_TRANSMISSION)
"MBEDTLS_IMMEDIATE_TRANSMISSION",
#endif /* MBEDTLS_IMMEDIATE_TRANSMISSION */
#if defined(MBEDTLS_EARLY_KEY_COMPUTATION)
"MBEDTLS_EARLY_KEY_COMPUTATION",
#endif /* MBEDTLS_EARLY_KEY_COMPUTATION */
#if defined(MBEDTLS_SSL_HW_RECORD_ACCEL) #if defined(MBEDTLS_SSL_HW_RECORD_ACCEL)
"MBEDTLS_SSL_HW_RECORD_ACCEL", "MBEDTLS_SSL_HW_RECORD_ACCEL",
#endif /* MBEDTLS_SSL_HW_RECORD_ACCEL */ #endif /* MBEDTLS_SSL_HW_RECORD_ACCEL */

View File

@ -130,6 +130,14 @@
int query_config( const char *config ) int query_config( const char *config )
{ {
#if defined(MBEDTLS_DELAYED_SERVER_CERT_VERIFICATION)
if( strcmp( "MBEDTLS_DELAYED_SERVER_CERT_VERIFICATION", config ) == 0 )
{
MACRO_EXPANSION_TO_STR( MBEDTLS_DELAYED_SERVER_CERT_VERIFICATION );
return( 0 );
}
#endif /* MBEDTLS_DELAYED_SERVER_CERT_VERIFICATION */
#if defined(MBEDTLS_HAVE_ASM) #if defined(MBEDTLS_HAVE_ASM)
if( strcmp( "MBEDTLS_HAVE_ASM", config ) == 0 ) if( strcmp( "MBEDTLS_HAVE_ASM", config ) == 0 )
{ {
@ -1346,6 +1354,30 @@ int query_config( const char *config )
} }
#endif /* MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */ #endif /* MBEDTLS_SSL_KEEP_PEER_CERTIFICATE */
#if defined(MBEDTLS_SSL_FREE_SERVER_CERTIFICATE)
if( strcmp( "MBEDTLS_SSL_FREE_SERVER_CERTIFICATE", config ) == 0 )
{
MACRO_EXPANSION_TO_STR( MBEDTLS_SSL_FREE_SERVER_CERTIFICATE );
return( 0 );
}
#endif /* MBEDTLS_SSL_FREE_SERVER_CERTIFICATE */
#if defined(MBEDTLS_IMMEDIATE_TRANSMISSION)
if( strcmp( "MBEDTLS_IMMEDIATE_TRANSMISSION", config ) == 0 )
{
MACRO_EXPANSION_TO_STR( MBEDTLS_IMMEDIATE_TRANSMISSION );
return( 0 );
}
#endif /* MBEDTLS_IMMEDIATE_TRANSMISSION */
#if defined(MBEDTLS_EARLY_KEY_COMPUTATION)
if( strcmp( "MBEDTLS_EARLY_KEY_COMPUTATION", config ) == 0 )
{
MACRO_EXPANSION_TO_STR( MBEDTLS_EARLY_KEY_COMPUTATION );
return( 0 );
}
#endif /* MBEDTLS_EARLY_KEY_COMPUTATION */
#if defined(MBEDTLS_SSL_HW_RECORD_ACCEL) #if defined(MBEDTLS_SSL_HW_RECORD_ACCEL)
if( strcmp( "MBEDTLS_SSL_HW_RECORD_ACCEL", config ) == 0 ) if( strcmp( "MBEDTLS_SSL_HW_RECORD_ACCEL", config ) == 0 )
{ {