Commit 0724aa81 authored by Austin Clements's avatar Austin Clements

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/35064Reviewed-by: 's avatarMatt Layher <mdlayher@gmail.com>
Reviewed-by: 's avatarAdam Langley <agl@chromium.org>
Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Matt Layher <mdlayher@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent ac055429
...@@ -95,7 +95,7 @@ func TestSignAndVerify(t *testing.T) { ...@@ -95,7 +95,7 @@ func TestSignAndVerify(t *testing.T) {
func TestSigningWithDegenerateKeys(t *testing.T) { func TestSigningWithDegenerateKeys(t *testing.T) {
// Signing with degenerate private keys should not cause an infinite // Signing with degenerate private keys should not cause an infinite
// loop. // loop.
badKeys := []struct{ badKeys := []struct {
p, q, g, y, x string p, q, g, y, x string
}{ }{
{"00", "01", "00", "00", "00"}, {"00", "01", "00", "00", "00"},
...@@ -105,7 +105,7 @@ func TestSigningWithDegenerateKeys(t *testing.T) { ...@@ -105,7 +105,7 @@ func TestSigningWithDegenerateKeys(t *testing.T) {
for i, test := range badKeys { for i, test := range badKeys {
priv := PrivateKey{ priv := PrivateKey{
PublicKey: PublicKey{ PublicKey: PublicKey{
Parameters: Parameters { Parameters: Parameters{
P: fromHex(test.p), P: fromHex(test.p),
Q: fromHex(test.q), Q: fromHex(test.q),
G: fromHex(test.g), G: fromHex(test.g),
......
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