mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-25 16:45:40 +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
|
||||
*
|
||||
* This function only checks the requested CN (if any) and then delegates
|
||||
* chain building/verification to verify_chain(). Before that, it checks the
|
||||
* key size of the EE certificate, as verify_chain() will only verify that of
|
||||
* parent certificates.
|
||||
* This function:
|
||||
* - checks the requested CN (if any)
|
||||
* - checks the type and size of the EE cert's key,
|
||||
* 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,
|
||||
mbedtls_x509_crt *trust_ca,
|
||||
|
Loading…
Reference in New Issue
Block a user