From 697b009149a6c9ecdb36985e67d2d887e2e59732 Mon Sep 17 00:00:00 2001 From: Mateusz Poliwczak Date: Wed, 22 May 2024 19:44:39 +0200 Subject: [PATCH] add section Change-Id: I53f7995e973b8180193b2dd31f7f75dd0c749e4b --- src/crypto/x509/parser.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/x509/parser.go b/src/crypto/x509/parser.go index c11cc982f8..79b7906a07 100644 --- a/src/crypto/x509/parser.go +++ b/src/crypto/x509/parser.go @@ -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")