Reword and reformat comments

Signed-off-by: Agathiyan Bragadeesh <agathiyan.bragadeesh2@arm.com>
This commit is contained in:
Agathiyan Bragadeesh 2023-08-30 15:50:12 +01:00
parent ef6abd4062
commit e9d1c8e1eb

View File

@ -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;