mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-30 01:14:23 +01:00
Add missing dependencies on !MBEDTLS_X509_REMOVE_INFO
This commit is contained in:
parent
02a2193f60
commit
98f85c8c25
@ -2001,6 +2001,7 @@ int main( int argc, char *argv[] )
|
||||
else
|
||||
mbedtls_printf( " ok\n" );
|
||||
|
||||
#if !defined(MBEDTLS_X509_REMOVE_INFO)
|
||||
if( mbedtls_ssl_get_peer_cert( &ssl ) != NULL )
|
||||
{
|
||||
mbedtls_printf( " . Peer certificate information ...\n" );
|
||||
@ -2008,6 +2009,7 @@ int main( int argc, char *argv[] )
|
||||
mbedtls_ssl_get_peer_cert( &ssl ) );
|
||||
mbedtls_printf( "%s\n", buf );
|
||||
}
|
||||
#endif /* !MBEDTLS_X509_REMOVE_INFO */
|
||||
#endif /* MBEDTLS_X509_CRT_PARSE_C */
|
||||
|
||||
#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID)
|
||||
|
@ -529,6 +529,8 @@ void x509parse_crt( data_t * buf, char * result_str, int result )
|
||||
|
||||
TEST_ASSERT( strcmp( (char *) output, result_str ) == 0 );
|
||||
}
|
||||
#else
|
||||
((void) result_str);
|
||||
#endif
|
||||
|
||||
mbedtls_x509_crt_free( &crt );
|
||||
|
Loading…
Reference in New Issue
Block a user