crypto/x509: remove the redundant type declare

crypto/x509: remove the redundant type declare
This commit is contained in:
ZZMarquis 2019-01-10 16:21:04 +08:00 committed by GitHub
parent 94d9a20453
commit c8223adfc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)},
},
},
}