Fix formatting of explanatory commented code

Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
David Horstmann 2023-07-05 11:15:08 +01:00
parent b1d27bcd69
commit 3ae1c4c0f7

View file

@ -587,7 +587,7 @@ static int x509_date_is_valid(const mbedtls_x509_time *t)
}
if ((unsigned int) (t->day - 1) >= month_days || /* (1 - days in month) */
/* (unsigned int)( t->mon - 1 ) >= 12 || */ /* (1 - 12) checked above */
/* (unsigned int) (t->mon - 1) >= 12 || */ /* (1 - 12) checked above */
(unsigned int) t->year > 9999 || /* (0 - 9999) */
(unsigned int) t->hour > 23 || /* (0 - 23) */
(unsigned int) t->min > 59 || /* (0 - 59) */