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:
Manuel Pégourié-Gonnard 2016-02-24 17:11:40 +00:00 committed by Simon Butcher
parent a0e924fa7b
commit 347700ebe2

View File

@ -516,9 +516,6 @@ static int x509_get_subject_alt_name( unsigned char **p,
/*
* 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,
const unsigned char *end,