go.crypto: gofmt -w -s

R=golang-dev, dave
CC=golang-dev
https://golang.org/cl/6948057
This commit is contained in:
Mikio Hara
2012-12-15 14:19:17 +09:00
parent 54c65aebf4
commit eeef66c528
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -169,7 +169,7 @@ func TestEncryption(t *testing.T) {
} }
buf := new(bytes.Buffer) buf := new(bytes.Buffer)
w, err := Encrypt(buf, kring[:1], signed, nil, /* no hints */ nil) w, err := Encrypt(buf, kring[:1], signed, nil /* no hints */, nil)
if err != nil { if err != nil {
t.Errorf("#%d: error in Encrypt: %s", i, err) t.Errorf("#%d: error in Encrypt: %s", i, err)
continue continue
@@ -187,7 +187,7 @@ func TestEncryption(t *testing.T) {
continue continue
} }
md, err := ReadMessage(buf, kring, nil, /* no prompt */ nil) md, err := ReadMessage(buf, kring, nil /* no prompt */, nil)
if err != nil { if err != nil {
t.Errorf("#%d: error reading message: %s", i, err) t.Errorf("#%d: error reading message: %s", i, err)
continue continue
+1 -1
View File
@@ -57,7 +57,7 @@ func (c *ClientConn) authenticate(session []byte) error {
} }
func keys(m map[string]bool) (s []string) { func keys(m map[string]bool) (s []string) {
for k, _ := range m { for k := range m {
s = append(s, k) s = append(s, k)
} }
return return