mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-22 16:40:58 +00:00
Update query_config.c and version_features.c
This commit is contained in:
parent
d07614c529
commit
600ddf45c3
|
@ -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 */
|
||||
|
|
|
@ -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 )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue