mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-27 02:44:14 +01:00
x509: remove obsolete TODO comment
- basicContraints checks are done during verification - there is no need to set extensions that are not present to default values, as the code using the extension will check if it was present using ext_types. (And default values would not make sense anyway.)
This commit is contained in:
parent
a0e924fa7b
commit
347700ebe2
@ -516,9 +516,6 @@ static int x509_get_subject_alt_name( unsigned char **p,
|
|||||||
/*
|
/*
|
||||||
* X.509 v3 extensions
|
* X.509 v3 extensions
|
||||||
*
|
*
|
||||||
* TODO: Perform all of the basic constraints tests required by the RFC
|
|
||||||
* TODO: Set values for undetected extensions to a sane default?
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
static int x509_get_crt_ext( unsigned char **p,
|
static int x509_get_crt_ext( unsigned char **p,
|
||||||
const unsigned char *end,
|
const unsigned char *end,
|
||||||
|
Loading…
Reference in New Issue
Block a user