mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 14:58:32 +00:00
Improve documentation of mbedtls_x509_crt_parse()
This commit is contained in:
parent
89a91121df
commit
e8658e2893
1 changed files with 2 additions and 2 deletions
|
@ -178,8 +178,8 @@ int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain, const unsigned char *bu
|
|||
* \brief Parse one DER-encoded or one or more concatenated PEM-encoded
|
||||
* certificates and add them to the chained list.
|
||||
*
|
||||
* For PEM-encoded CRTs, the function parses permissively:
|
||||
* If at least one certificate can be parsed, the function
|
||||
* For CRTs in PEM encoding, the function parses permissively:
|
||||
* if at least one certificate can be parsed, the function
|
||||
* returns the number of certificates for which parsing failed
|
||||
* (hence \c 0 if all certificates were parsed successfully).
|
||||
* If no certificate could be parsed, the function returns
|
||||
|
|
Loading…
Reference in a new issue