diff options
| author | Filippo Valsorda <hi@filippo.io> | 2018-08-21 14:50:04 -0600 |
|---|---|---|
| committer | Filippo Valsorda <filippo@golang.org> | 2018-08-22 03:48:56 +0000 |
| commit | de16b3223375235a823658ab4e84716d7fb62dc4 (patch) | |
| tree | 38264df1bbee4b2dfcb46b9ef8cfbed6c9dd9ea1 /src/encoding | |
| parent | 90f2fa003738651b02eb0dcb957a6135772ff289 (diff) | |
| download | go-de16b3223375235a823658ab4e84716d7fb62dc4.tar.xz | |
crypto/tls: make ConnectionState.ExportKeyingMaterial a method
The unexported field is hidden from reflect based marshalers, which
would break otherwise. Also, make it return an error, as there are
multiple reasons it might fail.
Fixes #27125
Change-Id: I92adade2fe456103d2d5c0315629ca0256953764
Reviewed-on: https://go-review.googlesource.com/130535
Run-TryBot: Filippo Valsorda <filippo@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
