mirror of
https://github.com/golang/go
synced 2024-11-23 08:40:08 -07:00
crypto/dsa: gofmt
Somehow this file didn't get gofmted after the last change, which interferes with merges. Change-Id: I965cfdbf27a01124a6ed300be9687ff84f68f9a1 Reviewed-on: https://go-review.googlesource.com/35064 Reviewed-by: Matt Layher <mdlayher@gmail.com> Reviewed-by: Adam Langley <agl@chromium.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Matt Layher <mdlayher@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
ac05542985
commit
0724aa813f
@ -95,7 +95,7 @@ func TestSignAndVerify(t *testing.T) {
|
||||
func TestSigningWithDegenerateKeys(t *testing.T) {
|
||||
// Signing with degenerate private keys should not cause an infinite
|
||||
// loop.
|
||||
badKeys := []struct{
|
||||
badKeys := []struct {
|
||||
p, q, g, y, x string
|
||||
}{
|
||||
{"00", "01", "00", "00", "00"},
|
||||
@ -105,7 +105,7 @@ func TestSigningWithDegenerateKeys(t *testing.T) {
|
||||
for i, test := range badKeys {
|
||||
priv := PrivateKey{
|
||||
PublicKey: PublicKey{
|
||||
Parameters: Parameters {
|
||||
Parameters: Parameters{
|
||||
P: fromHex(test.p),
|
||||
Q: fromHex(test.q),
|
||||
G: fromHex(test.g),
|
||||
|
Loading…
Reference in New Issue
Block a user