mirror of
https://github.com/golang/go
synced 2024-11-15 01:40:25 -07:00
add section
Change-Id: I53f7995e973b8180193b2dd31f7f75dd0c749e4b
This commit is contained in:
parent
877b49755d
commit
697b009149
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user