We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b42d356 + 71f7107 commit 3556b7aCopy full SHA for 3556b7a
1 file changed
wolfcrypt/src/asn.c
@@ -16555,9 +16555,10 @@ static int ConfirmNameConstraints(Signer* signer, DecodedCert* cert)
16555
}
16556
break;
16557
case ASN_DIR_TYPE:
16558
+ #ifndef WOLFSSL_NO_ASN_STRICT
16559
name = cert->altDirNames;
16560
+ #endif
16561
- #ifndef WOLFSSL_NO_ASN_STRICT
16562
/* RFC 5280 section 4.2.1.10
16563
"Restrictions of the form directoryName MUST be
16564
applied to the subject field .... and to any names
@@ -16570,7 +16571,6 @@ static int ConfirmNameConstraints(Signer* signer, DecodedCert* cert)
16570
16571
subjectDnsName.len = cert->subjectRawLen;
16572
subjectDnsName.name = (char *)cert->subjectRaw;
16573
- #endif
16574
16575
default:
16576
/* Other types of names are ignored for now.
0 commit comments