]> Cypherpunks repositories - gostls13.git/commit
crypto/cipher: fix AEAD.Open documentation nit
authorBrad Fitzpatrick <bradfitz@golang.org>
Tue, 4 Mar 2014 17:58:54 +0000 (09:58 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 4 Mar 2014 17:58:54 +0000 (09:58 -0800)
commitc7157bf44926f489c5db1c830748d9072d17852f
treee595b7bdc2c72b52722ae72e9e714194e20b9d20
parent96c373f9e1eea8e13e1a8bcbfd1da8aada26fe90
crypto/cipher: fix AEAD.Open documentation nit

It mentioned true and false for error values. Instead, just
don't mention the error semantics, as they match normal Go
conventions (if error is non-nil, the other value is
meaningless). We generally only document error values when
they're interesting (where non-nil, non-nil is valid, or the
error value can be certain known values or types).

Fixes #7464

LGTM=agl
R=agl
CC=golang-codereviews
https://golang.org/cl/68440044
src/pkg/crypto/cipher/gcm.go