From e9d1c8e1ebd11cce154d357d85bfebe92c5d451c Mon Sep 17 00:00:00 2001 From: Agathiyan Bragadeesh Date: Wed, 30 Aug 2023 15:50:12 +0100 Subject: [PATCH] Reword and reformat comments Signed-off-by: Agathiyan Bragadeesh --- library/x509_create.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/x509_create.c b/library/x509_create.c index 9fdd48305..4c982d1f4 100644 --- a/library/x509_create.c +++ b/library/x509_create.c @@ -163,7 +163,7 @@ static int parse_attribute_value_string(const char *s, if (*c == '\\') { c++; - /* Check for valid escaped characters in RFC 4514 in Section 3*/ + /* Check for valid escaped characters as per RFC 4514 Section 3 */ if (c + 1 < end && (n = hexpair_to_int(*c, *(c+1))) != -1) { if (n == 0) { return MBEDTLS_ERR_X509_INVALID_NAME; @@ -204,7 +204,7 @@ static int parse_attribute_value_der_encoded(const char *s, unsigned char *d = data; int n; - /* Converting from hexstring to raw binary so we can use asn1parse.c*/ + /* Converting from hexstring to raw binary so we can use asn1parse.c */ if ((len < 5) || (*c != '#')) { return MBEDTLS_ERR_X509_INVALID_NAME; }