mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-08 10:09:54 +00:00
Update doc of return value of verify()
This commit is contained in:
parent
e23f7b312d
commit
cfea3ebd01
|
@ -252,11 +252,13 @@ int x509_crt_verify_info( char *buf, size_t size, const char *prefix,
|
||||||
* \param f_vrfy verification function
|
* \param f_vrfy verification function
|
||||||
* \param p_vrfy verification parameter
|
* \param p_vrfy verification parameter
|
||||||
*
|
*
|
||||||
* \return 0 if successful or POLARSSL_ERR_X509_SIG_VERIFY_FAILED,
|
* \return 0 (and flags set to 0) if the chain was verified and valid,
|
||||||
* in which case *flags will have one or more BADCERT_XXX or
|
* POLARSSL_ERR_X509_CERT_VERIFY_FAILED if the chain was verified
|
||||||
* BADCRL_XXX flags set,
|
* but found to be invalid, in which case *flags will have one
|
||||||
* or another error in case of a fatal error encountered
|
* or more BADCERT_XXX or POLARSSL_X509_BADCRL_XXX
|
||||||
* during the verification process.
|
* flags set, or another error (and flags set to 0xffffffff)
|
||||||
|
* in case of a fatal error encountered during the
|
||||||
|
* verification process.
|
||||||
*/
|
*/
|
||||||
int x509_crt_verify( x509_crt *crt,
|
int x509_crt_verify( x509_crt *crt,
|
||||||
x509_crt *trust_ca,
|
x509_crt *trust_ca,
|
||||||
|
|
Loading…
Reference in a new issue