Filippo Valsorda de16b32233 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>
2018-08-22 03:48:56 +00:00
..
2018-06-06 00:03:55 +00:00
2018-07-18 04:00:10 +00:00
2017-06-18 16:19:31 +00:00
2018-05-23 20:16:46 +00:00
2018-06-13 13:45:01 +00:00
2018-06-13 13:45:01 +00:00
2018-06-13 13:45:01 +00:00
2018-06-13 13:45:01 +00:00
2018-01-09 21:47:03 +00:00
2018-06-13 13:45:01 +00:00
2018-01-09 21:47:03 +00:00
2018-06-13 13:45:01 +00:00
2017-02-22 23:51:12 +00:00
2018-01-09 21:47:03 +00:00
2018-06-13 13:45:01 +00:00