From b00ef3b8654ea64651805460fe23c67716cdd827 Mon Sep 17 00:00:00 2001 From: ZZMarquis Date: Wed, 27 Feb 2019 19:26:13 +0000 Subject: [PATCH] crypto/x509: remove the redundant type declaration Change-Id: I50668a4c943ecab91b2b33370f6cfb3784afafd1 GitHub-Last-Rev: c8223adfc8b7d3fc712089bb9cb03d6832ab558b GitHub-Pull-Request: golang/go#29654 Reviewed-on: https://go-review.googlesource.com/c/157338 Run-TryBot: Filippo Valsorda TryBot-Result: Gobot Gobot Reviewed-by: Filippo Valsorda --- 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 4f9b305e7c..80e4dec0f3 100644 --- a/src/crypto/x509/x509.go +++ b/src/crypto/x509/x509.go @@ -1930,7 +1930,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)}, }, }, } -- 2.50.0