]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/dsa: gofmt
authorAustin Clements <austin@google.com>
Wed, 11 Jan 2017 16:36:07 +0000 (11:36 -0500)
committerAustin Clements <austin@google.com>
Wed, 11 Jan 2017 17:10:59 +0000 (17:10 +0000)
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>

src/crypto/dsa/dsa_test.go

index b89aeaebea6fcff67290fa2ae28b360931947d0f..8600059f0329fe26271a1d726e0923bcd9288ce5 100644 (file)
@@ -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),