aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/exp/ssh
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-12-02 14:14:25 -0500
committerRuss Cox <rsc@golang.org>2011-12-02 14:14:25 -0500
commitdcf1d7bc0e6146c143454dc5077de9452e6fd795 (patch)
tree515df6f35665ee33e64e73a92674c5bd791173eb /src/pkg/exp/ssh
parent0dab624b70273d4c32b70a5076c2a054c5a274dd (diff)
downloadgo-dcf1d7bc0e6146c143454dc5077de9452e6fd795.tar.xz
gofmt -s misc src
R=golang-dev, bradfitz, gri CC=golang-dev https://golang.org/cl/5451079
Diffstat (limited to 'src/pkg/exp/ssh')
-rw-r--r--src/pkg/exp/ssh/cipher.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/pkg/exp/ssh/cipher.go b/src/pkg/exp/ssh/cipher.go
index de4926d7b8..d91929aa99 100644
--- a/src/pkg/exp/ssh/cipher.go
+++ b/src/pkg/exp/ssh/cipher.go
@@ -77,12 +77,12 @@ var DefaultCipherOrder = []string{
var cipherModes = map[string]*cipherMode{
// Ciphers from RFC4344, which introduced many CTR-based ciphers. Algorithms
// are defined in the order specified in the RFC.
- "aes128-ctr": &cipherMode{16, aes.BlockSize, 0, newAESCTR},
- "aes192-ctr": &cipherMode{24, aes.BlockSize, 0, newAESCTR},
- "aes256-ctr": &cipherMode{32, aes.BlockSize, 0, newAESCTR},
+ "aes128-ctr": {16, aes.BlockSize, 0, newAESCTR},
+ "aes192-ctr": {24, aes.BlockSize, 0, newAESCTR},
+ "aes256-ctr": {32, aes.BlockSize, 0, newAESCTR},
// Ciphers from RFC4345, which introduces security-improved arcfour ciphers.
// They are defined in the order specified in the RFC.
- "arcfour128": &cipherMode{16, 0, 1536, newRC4},
- "arcfour256": &cipherMode{32, 0, 1536, newRC4},
+ "arcfour128": {16, 0, 1536, newRC4},
+ "arcfour256": {32, 0, 1536, newRC4},
}