diff --git a/src/crypto/x509/x509.go b/src/crypto/x509/x509.go index 08681a6ee2..61ee15ebec 100644 --- a/src/crypto/x509/x509.go +++ b/src/crypto/x509/x509.go @@ -1927,7 +1927,7 @@ func buildExtensions(template *Certificate, subjectIsEmpty bool, authorityKeyId dp := distributionPoint{ DistributionPoint: distributionPointName{ FullName: []asn1.RawValue{ - asn1.RawValue{Tag: 6, Class: 2, Bytes: []byte(name)}, + {Tag: 6, Class: 2, Bytes: []byte(name)}, }, }, }