From c8223adfc8b7d3fc712089bb9cb03d6832ab558b Mon Sep 17 00:00:00 2001 From: ZZMarquis Date: Thu, 10 Jan 2019 16:21:04 +0800 Subject: [PATCH] crypto/x509: remove the redundant type declare crypto/x509: remove the redundant type declare --- src/crypto/x509/x509.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)}, }, }, }