From b36a245654c0276aec4e423327c15995ea9bbcfa Mon Sep 17 00:00:00 2001 From: Hanno Becker Date: Wed, 29 May 2019 14:43:17 +0100 Subject: [PATCH] Add comment to #endif indicating which condition was guarded --- library/x509_crt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/x509_crt.c b/library/x509_crt.c index 57e772df5..ee9e95dc9 100644 --- a/library/x509_crt.c +++ b/library/x509_crt.c @@ -958,7 +958,7 @@ static int x509_crt_get_ext_cb( void *ctx, ret = MBEDTLS_ERR_ASN1_UNEXPECTED_TAG; goto err; } -#endif +#endif /* MBEDTLS_X509_ALLOW_UNSUPPORTED_CRITICAL_EXTENSION */ return( 0 ); }