mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 23:18:13 +00:00
Make ssl_check_cert_usage() dependent on POLARSSL_X509_CRT_PARSE_C
This commit is contained in:
parent
5c986f5244
commit
d6ad8e949b
1 changed files with 2 additions and 0 deletions
|
@ -4765,6 +4765,7 @@ int ssl_curve_is_acceptable( const ssl_context *ssl, ecp_group_id grp_id )
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(POLARSSL_X509_CRT_PARSE_C)
|
||||||
int ssl_check_cert_usage( const x509_crt *cert,
|
int ssl_check_cert_usage( const x509_crt *cert,
|
||||||
const ssl_ciphersuite_t *ciphersuite,
|
const ssl_ciphersuite_t *ciphersuite,
|
||||||
int cert_endpoint )
|
int cert_endpoint )
|
||||||
|
@ -4821,3 +4822,4 @@ int ssl_check_cert_usage( const x509_crt *cert,
|
||||||
|
|
||||||
return( 0 );
|
return( 0 );
|
||||||
}
|
}
|
||||||
|
#endif /* POLARSSL_X509_CRT_PARSE_C */
|
||||||
|
|
Loading…
Reference in a new issue