mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 19:35:39 +01:00
Update comments
This commit is contained in:
parent
505c3953c7
commit
66a36b03c6
@ -2287,10 +2287,12 @@ int mbedtls_x509_crt_verify( mbedtls_x509_crt *crt,
|
|||||||
/*
|
/*
|
||||||
* Verify the certificate validity, with profile
|
* Verify the certificate validity, with profile
|
||||||
*
|
*
|
||||||
* This function only checks the requested CN (if any) and then delegates
|
* This function:
|
||||||
* chain building/verification to verify_chain(). Before that, it checks the
|
* - checks the requested CN (if any)
|
||||||
* key size of the EE certificate, as verify_chain() will only verify that of
|
* - checks the type and size of the EE cert's key,
|
||||||
* parent certificates.
|
* as that isn't done as part of chain building/verification currently
|
||||||
|
* - builds and verifies the chain
|
||||||
|
* - then calls the callback and merges the flags
|
||||||
*/
|
*/
|
||||||
int mbedtls_x509_crt_verify_with_profile( mbedtls_x509_crt *crt,
|
int mbedtls_x509_crt_verify_with_profile( mbedtls_x509_crt *crt,
|
||||||
mbedtls_x509_crt *trust_ca,
|
mbedtls_x509_crt *trust_ca,
|
||||||
|
Loading…
Reference in New Issue
Block a user