mirror of
https://github.com/golang/go
synced 2024-11-20 01:04:40 -07:00
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: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
31da093c1e
commit
d07709ed7b
@ -1183,7 +1183,7 @@ func TestNoAuthorityKeyIdInSelfSignedCert(t *testing.T) {
|
||||
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 {
|
||||
t.Fatalf("self-signed certificate erased explicit authority key id")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user