]> Cypherpunks repositories - gostls13.git/commitdiff
crypto/cipher: fix typo from last change
authorRob Pike <r@golang.org>
Tue, 22 Dec 2015 23:24:21 +0000 (15:24 -0800)
committerRob Pike <r@golang.org>
Tue, 22 Dec 2015 23:26:12 +0000 (23:26 +0000)
s/encrypt/decrypt/

The text is unsafe to cut and paste...

Change-Id: Iab19ddf8182d087e9a4b4d34a9eeabd1d2aa02d6
Reviewed-on: https://go-review.googlesource.com/18104
Reviewed-by: Rob Pike <r@golang.org>
src/crypto/cipher/gcm.go

index cf13319dfe6e1727799090b236cc052dc1abf926..5f18f8c4902d91c93c5a45a705a7cbc92afb531a 100644 (file)
@@ -37,7 +37,7 @@ type AEAD interface {
        // value passed to Seal.
        //
        // The ciphertext and dst may alias exactly or not at all. To reuse
-       // ciphertext's storage for the encrypted output, use ciphertext[:0] as dst.
+       // ciphertext's storage for the decrypted output, use ciphertext[:0] as dst.
        Open(dst, nonce, ciphertext, additionalData []byte) ([]byte, error)
 }