]> Cypherpunks repositories - gostls13.git/commit
crypto/tls,crypto/x509: clarify certificate ownership
authorRoland Shoemaker <roland@golang.org>
Wed, 31 Aug 2022 19:24:21 +0000 (12:24 -0700)
committerGopher Robot <gobot@golang.org>
Mon, 24 Oct 2022 17:35:57 +0000 (17:35 +0000)
commitffa03f6bac1a86f85a3d3f16c4711b252dc404e0
tree412c87de5da00a1214e862714749afc89e627c4c
parent5a3900b23c2bbbf802fa2db9dfea916a6befa517
crypto/tls,crypto/x509: clarify certificate ownership

Clarify documentation in cases where certificates returned from
various methods are not owned by the caller, and as such should not
be modified.

Change-Id: I06bdc4cf0f686c3d5e8bbb76fc71f2a4bdb955e3
Reviewed-on: https://go-review.googlesource.com/c/go/+/427155
Auto-Submit: Roland Shoemaker <roland@golang.org>
Run-TryBot: Roland Shoemaker <roland@golang.org>
Reviewed-by: Filippo Valsorda <filippo@golang.org>
Reviewed-by: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/crypto/tls/common.go
src/crypto/x509/verify.go