aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorFilippo Valsorda <hi@filippo.io>2018-08-21 14:50:04 -0600
committerFilippo Valsorda <filippo@golang.org>2018-08-22 03:48:56 +0000
commitde16b3223375235a823658ab4e84716d7fb62dc4 (patch)
tree38264df1bbee4b2dfcb46b9ef8cfbed6c9dd9ea1 /api
parent90f2fa003738651b02eb0dcb957a6135772ff289 (diff)
downloadgo-de16b3223375235a823658ab4e84716d7fb62dc4.tar.gz
go-de16b3223375235a823658ab4e84716d7fb62dc4.zip
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 'api')
-rw-r--r--api/go1.11.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/go1.11.txt b/api/go1.11.txt
index 4c0bcc7479..863e1f1625 100644
--- a/api/go1.11.txt
+++ b/api/go1.11.txt
@@ -1,7 +1,7 @@
pkg crypto/cipher, func NewGCMWithTagSize(Block, int) (AEAD, error)
pkg crypto/rsa, method (*PrivateKey) Size() int
pkg crypto/rsa, method (*PublicKey) Size() int
-pkg crypto/tls, type ConnectionState struct, ExportKeyingMaterial func(string, []uint8, int) ([]uint8, bool)
+pkg crypto/tls, method (*ConnectionState) ExportKeyingMaterial(string, []uint8, int) ([]uint8, error)
pkg database/sql, method (IsolationLevel) String() string
pkg database/sql, type DBStats struct, Idle int
pkg database/sql, type DBStats struct, InUse int