]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: note in comment that Certificate.Leaf is nil after parsing.
authorAdam Langley <agl@golang.org>
Tue, 19 Jan 2016 16:27:10 +0000 (08:27 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 21 Jan 2016 18:50:24 +0000 (18:50 +0000)
commitb203f88c7f0b81043a3f387136147d8193a0a8b8
treea6ca7c0bcc7fcee08b4581be82d3be0c21bccf87
parent754216d1d7642e8f254d0c8b8cd47ce3426ea051
crypto/tls: note in comment that Certificate.Leaf is nil after parsing.

LoadX509KeyPair and X509KeyPair don't retain the parsed form of
certificates in their return value because it's generally not needed.
This change makes that clear in the comment.

See https://groups.google.com/d/msg/golang-dev/VResvFj2vF8/Wt6WkVT2AwAJ

Change-Id: Ibb759cd6e84c00f4450a012992088422c0546638
Reviewed-on: https://go-review.googlesource.com/18734
Reviewed-by: Russ Cox <rsc@golang.org>
src/crypto/tls/tls.go