Skip to content

Commit

Permalink
crypto/x509: remove the redundant type declaration
Browse files Browse the repository at this point in the history
Change-Id: I50668a4c943ecab91b2b33370f6cfb3784afafd1
GitHub-Last-Rev: c8223ad
GitHub-Pull-Request: #29654
Reviewed-on: https://go-review.googlesource.com/c/157338
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
  • Loading branch information
ZZMarquis authored and FiloSottile committed Feb 27, 2019
1 parent df557fe commit b00ef3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crypto/x509/x509.go
Expand Up @@ -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)},
},
},
}
Expand Down

0 comments on commit b00ef3b

Please sign in to comment.