diff options
| author | Filippo Valsorda <filippo@golang.org> | 2019-02-13 03:37:57 -0500 |
|---|---|---|
| committer | Filippo Valsorda <filippo@golang.org> | 2019-02-22 17:05:17 +0000 |
| commit | b35dacaac57b039205d9b07ea24098e2c3fcb12e (patch) | |
| tree | c774258bf283c26da6fc4621a7a5f4a9bc5ab4b9 /misc/cgo/errors/errors_test.go | |
| parent | 56e4b0b3a2520015cb1d38b5bf67820e75e16f83 (diff) | |
| download | go-b35dacaac57b039205d9b07ea24098e2c3fcb12e.tar.xz | |
crypto/rc4: remove false guarantees from Reset docs and deprecate it
Nothing in Go can truly guarantee a key will be gone from memory (see
#21865), so remove that claim. That makes Reset useless, because
unlike most Reset methods it doesn't restore the original value state,
so deprecate it.
Change-Id: I6bb0f7f94c7e6dd4c5ac19761bc8e5df1f9ec618
Reviewed-on: https://go-review.googlesource.com/c/162297
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'misc/cgo/errors/errors_test.go')
0 files changed, 0 insertions, 0 deletions
