add section

Change-Id: I53f7995e973b8180193b2dd31f7f75dd0c749e4b
This commit is contained in:
Mateusz Poliwczak 2024-05-22 19:44:39 +02:00
parent 877b49755d
commit 697b009149
1 changed files with 1 additions and 1 deletions

View File

@ -416,7 +416,7 @@ func parseSANExtension(der cryptobyte.String) (dnsNames, emailAddresses []string
}
func parseAuthorityKeyIdentifier(e pkix.Extension) ([]byte, error) {
// RFC 5280, 4.2.1.1
// RFC 5280, Section 4.2.1.1
if e.Critical {
// Conforming CAs MUST mark this extension as non-critical
return nil, errors.New("x509: authority key identifier incorrectly marked critical")