Commit 400bb826 authored by Didier Spezia's avatar Didier Spezia Committed by Ian Lance Taylor

crypto/x509: map/slice literals janitoring

Simplify slice/map literal expression.
Caught with gofmt -d -s, fixed with gofmt -w -s

Change-Id: I4472c6003cf66e65f6e69050872ff95c96f01253
Reviewed-on: https://go-review.googlesource.com/13836Reviewed-by: default avatarAndrew Gerrand <adg@golang.org>
parent 4f334360
...@@ -504,9 +504,9 @@ func TestUnknownCriticalExtension(t *testing.T) { ...@@ -504,9 +504,9 @@ func TestUnknownCriticalExtension(t *testing.T) {
oids := []asn1.ObjectIdentifier{ oids := []asn1.ObjectIdentifier{
// This OID is in the PKIX arc, but unknown. // This OID is in the PKIX arc, but unknown.
asn1.ObjectIdentifier{2, 5, 29, 999999}, {2, 5, 29, 999999},
// This is a nonsense, unassigned OID. // This is a nonsense, unassigned OID.
asn1.ObjectIdentifier{1, 2, 3, 4}, {1, 2, 3, 4},
} }
for _, oid := range oids { for _, oid := range oids {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment