mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-04-18 14:42:24 +00:00
Correction to the migr. guide wording and removal of not needed option
Signed-off-by: TRodziewicz <tomasz.rodziewicz@mobica.com>
This commit is contained in:
parent
b8367380b1
commit
0ea2576502
@ -1,9 +1,13 @@
|
|||||||
Remove the X509 parser sensitivity control for an unknown critical extension from config.h
|
Remove the config option MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION
|
||||||
------------------------------------------------------------------------------------------
|
--------------------------------------------------------------------------
|
||||||
|
|
||||||
It affects users who use the `MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION`
|
This change does not affect users of the default configuration; it only affect
|
||||||
option which if set, allowed the X509 parser to parse an X509 certificate
|
users who enable this option.
|
||||||
even when it encountered an unknown critical extension.
|
|
||||||
|
The X.509 standard says that implementations must reject critical extensions that
|
||||||
|
they don't recognize, and this is what Mbed TLS does by default. This option
|
||||||
|
allowed to continue parsing those certificates but didn't provide a convenient
|
||||||
|
way to handle those extensions.
|
||||||
|
|
||||||
The migration path from that option is to use the
|
The migration path from that option is to use the
|
||||||
`mbedtls_x509_crt_parse_der_with_ext_cb()` function which is functionally
|
`mbedtls_x509_crt_parse_der_with_ext_cb()` function which is functionally
|
||||||
|
Loading…
x
Reference in New Issue
Block a user