]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: add OCSP response to ConnectionState
authorJonathan Rudenberg <jonathan@titanous.com>
Sun, 26 Apr 2015 16:05:37 +0000 (12:05 -0400)
committerAdam Langley <agl@golang.org>
Sun, 26 Apr 2015 22:00:13 +0000 (22:00 +0000)
commitac2bf8ad06e435f1cfdcd1acc87f7e9f51794a79
tree6866b6b0ff615c1635fe4e4df9978f5762cb1d41
parentd86b8d34d069c3895721ba47cac664f8bbf2b8ad
crypto/tls: add OCSP response to ConnectionState

The OCSP response is currently only exposed via a method on Conn,
which makes it inaccessible when using wrappers like net/http. The
ConnectionState structure is typically available even when using
wrappers and contains many of the other handshake details, so this
change exposes the stapled OCSP response in that structure.

Change-Id: If8dab49292566912c615d816321b4353e711f71f
Reviewed-on: https://go-review.googlesource.com/9361
Reviewed-by: Adam Langley <agl@golang.org>
Run-TryBot: Adam Langley <agl@golang.org>
src/crypto/tls/common.go
src/crypto/tls/conn.go