Commit d07709ed authored by Josh Bleecher Snyder's avatar Josh Bleecher Snyder

crypto/x509: gofmt

Change-Id: I05659a836612f958083fea9a27805eb9f0ac0836
Reviewed-on: https://go-review.googlesource.com/22145
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
parent 31da093c
...@@ -1183,7 +1183,7 @@ func TestNoAuthorityKeyIdInSelfSignedCert(t *testing.T) { ...@@ -1183,7 +1183,7 @@ func TestNoAuthorityKeyIdInSelfSignedCert(t *testing.T) {
t.Fatalf("self-signed certificate contained default authority key id") t.Fatalf("self-signed certificate contained default authority key id")
} }
template.AuthorityKeyId = []byte{1,2,3,4} template.AuthorityKeyId = []byte{1, 2, 3, 4}
if cert := serialiseAndParse(t, template); len(cert.AuthorityKeyId) == 0 { if cert := serialiseAndParse(t, template); len(cert.AuthorityKeyId) == 0 {
t.Fatalf("self-signed certificate erased explicit authority key id") t.Fatalf("self-signed certificate erased explicit authority key id")
} }
......
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