Update query_config.c and version_features.c

This commit is contained in:
Hanno Becker 2019-07-04 14:02:38 +01:00
parent d07614c529
commit 600ddf45c3
2 changed files with 22 additions and 0 deletions

View file

@ -564,6 +564,12 @@ static const char *features[] = {
#if defined(MBEDTLS_X509_REMOVE_INFO)
"MBEDTLS_X509_REMOVE_INFO",
#endif /* MBEDTLS_X509_REMOVE_INFO */
#if defined(MBEDTLS_X509_CRT_REMOVE_TIME)
"MBEDTLS_X509_CRT_REMOVE_TIME",
#endif /* MBEDTLS_X509_CRT_REMOVE_TIME */
#if defined(MBEDTLS_X509_CRT_REMOVE_SUBJECT_ISSUER_ID)
"MBEDTLS_X509_CRT_REMOVE_SUBJECT_ISSUER_ID",
#endif /* MBEDTLS_X509_CRT_REMOVE_SUBJECT_ISSUER_ID */
#if defined(MBEDTLS_X509_RSASSA_PSS_SUPPORT)
"MBEDTLS_X509_RSASSA_PSS_SUPPORT",
#endif /* MBEDTLS_X509_RSASSA_PSS_SUPPORT */

View file

@ -1546,6 +1546,22 @@ int query_config( const char *config )
}
#endif /* MBEDTLS_X509_REMOVE_INFO */
#if defined(MBEDTLS_X509_CRT_REMOVE_TIME)
if( strcmp( "MBEDTLS_X509_CRT_REMOVE_TIME", config ) == 0 )
{
MACRO_EXPANSION_TO_STR( MBEDTLS_X509_CRT_REMOVE_TIME );
return( 0 );
}
#endif /* MBEDTLS_X509_CRT_REMOVE_TIME */
#if defined(MBEDTLS_X509_CRT_REMOVE_SUBJECT_ISSUER_ID)
if( strcmp( "MBEDTLS_X509_CRT_REMOVE_SUBJECT_ISSUER_ID", config ) == 0 )
{
MACRO_EXPANSION_TO_STR( MBEDTLS_X509_CRT_REMOVE_SUBJECT_ISSUER_ID );
return( 0 );
}
#endif /* MBEDTLS_X509_CRT_REMOVE_SUBJECT_ISSUER_ID */
#if defined(MBEDTLS_X509_RSASSA_PSS_SUPPORT)
if( strcmp( "MBEDTLS_X509_RSASSA_PSS_SUPPORT", config ) == 0 )
{