]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: fix WriteTo method signature
authorJosh Bleecher Snyder <josharian@gmail.com>
Sat, 9 Jul 2016 20:59:36 +0000 (13:59 -0700)
committerJosh Bleecher Snyder <josharian@gmail.com>
Tue, 16 Aug 2016 14:36:19 +0000 (14:36 +0000)
commit6d2db0986faef807e8538db6f3d32adb0dfd78c5
treeb1f769daf5d00fee1e3c2ebb88a8e65c86df4196
parent12292754d3c46a4172373971b1ba945ecc4c5cbc
crypto/tls: fix WriteTo method signature

Give *recordingConn the correct WriteTo signature
to be an io.WriterTo. This makes vet happy.
It also means that it'll report errors,
which were previously being ignored.

Updates #11041

Change-Id: I13f171407d63f4b62427679bff362eb74faddca5
Reviewed-on: https://go-review.googlesource.com/27121
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/tls/handshake_test.go