From 3ae1c4c0f73fb13f15a362095ec7075534ec5050 Mon Sep 17 00:00:00 2001 From: David Horstmann Date: Wed, 5 Jul 2023 11:15:08 +0100 Subject: [PATCH] Fix formatting of explanatory commented code Signed-off-by: David Horstmann --- library/x509.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/x509.c b/library/x509.c index 46990a793f..017514c371 100644 --- a/library/x509.c +++ b/library/x509.c @@ -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) */