mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-02-24 08:07:39 +00:00
add comment about potential future extension
as requested, see https://github.com/ARMmbed/mbedtls/pull/3419#discussion_r443836568 Signed-off-by: Nicola Di Lieto <nicola.dilieto@gmail.com>
This commit is contained in:
parent
b77fad8ebe
commit
511bc8c57b
|
@ -311,6 +311,8 @@ int mbedtls_x509_crt_parse_der( mbedtls_x509_crt *chain,
|
||||||
* it encounters either an unsupported extension or a
|
* it encounters either an unsupported extension or a
|
||||||
* "certificate policies" extension containing any
|
* "certificate policies" extension containing any
|
||||||
* unsupported certificate policies.
|
* unsupported certificate policies.
|
||||||
|
* Future versions of the library may invoke the callback
|
||||||
|
* in other cases, if and when the need arises.
|
||||||
*
|
*
|
||||||
* \param p_ctx An opaque context passed to the callback.
|
* \param p_ctx An opaque context passed to the callback.
|
||||||
* \param crt The certificate being parsed.
|
* \param crt The certificate being parsed.
|
||||||
|
@ -372,6 +374,8 @@ typedef int (*mbedtls_x509_crt_ext_cb_t)( void *p_ctx,
|
||||||
* When the callback fails to parse a non critical extension
|
* When the callback fails to parse a non critical extension
|
||||||
* mbedtls_x509_crt_parse_der_with_ext_cb() simply skips
|
* mbedtls_x509_crt_parse_der_with_ext_cb() simply skips
|
||||||
* the extension and continues parsing.
|
* the extension and continues parsing.
|
||||||
|
* Future versions of the library may invoke the callback
|
||||||
|
* in other cases, if and when the need arises.
|
||||||
*
|
*
|
||||||
* \return \c 0 if successful.
|
* \return \c 0 if successful.
|
||||||
* \return A negative error code on failure.
|
* \return A negative error code on failure.
|
||||||
|
|
Loading…
Reference in a new issue