diff options
Diffstat (limited to 'cipher.go')
-rw-r--r-- | cipher.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -30,7 +30,7 @@ func newRabbitAead(key []byte) (cipher.AEAD, error) { noncesize: rabbitio.IVXLen, key: make([]byte, rabbitio.KeyLen), } - copy(rabbitAead.key[:], key) + copy(rabbitAead.key, key) return rabbitAead, nil } |