From ef6abd4062c3d51531a182b5f1ca55f4606c169d Mon Sep 17 00:00:00 2001 From: Agathiyan Bragadeesh Date: Wed, 30 Aug 2023 15:49:24 +0100 Subject: [PATCH] Add blank lines after variable declarations Signed-off-by: Agathiyan Bragadeesh --- library/x509_create.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/x509_create.c b/library/x509_create.c index 91957cc73..9fdd48305 100644 --- a/library/x509_create.c +++ b/library/x509_create.c @@ -158,6 +158,7 @@ static int parse_attribute_value_string(const char *s, int hexpair = 0; unsigned char *d = data; int n; + while (c < end) { if (*c == '\\') { c++; @@ -202,6 +203,7 @@ static int parse_attribute_value_der_encoded(const char *s, unsigned char *p; unsigned char *d = data; int n; + /* Converting from hexstring to raw binary so we can use asn1parse.c*/ if ((len < 5) || (*c != '#')) { return MBEDTLS_ERR_X509_INVALID_NAME;