summaryrefslogtreecommitdiff
path: root/src/pkg/crypto/twofish/twofish.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/crypto/twofish/twofish.go')
-rw-r--r--src/pkg/crypto/twofish/twofish.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/crypto/twofish/twofish.go b/src/pkg/crypto/twofish/twofish.go
index 9303f03ff..1a1aac9b9 100644
--- a/src/pkg/crypto/twofish/twofish.go
+++ b/src/pkg/crypto/twofish/twofish.go
@@ -116,7 +116,7 @@ func (c *Cipher) Reset() {
c.k[i] = 0
}
for i := range c.s {
- for j := 0; j < 265; j++ {
+ for j := 0; j < 256; j++ {
c.s[i][j] = 0
}
}