]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: fix printing of OpenSSL output when updating a test fails.
authorAdam Langley <agl@golang.org>
Tue, 11 Oct 2016 21:45:29 +0000 (14:45 -0700)
committerAdam Langley <agl@golang.org>
Wed, 12 Oct 2016 17:04:02 +0000 (17:04 +0000)
commit8c74139cada0b7da5a0914ee0afd75837b6f682d
tree7b5a7ec4ce53008b1670f6c1567f2325969703aa
parente875fe42eee942c35cdecc7b4b5d4e762f47bade
crypto/tls: fix printing of OpenSSL output when updating a test fails.

When updating the test data against OpenSSL, the handshake can fail and
the stdout/stderr output of OpenSSL is very useful in finding out why.

However, printing that output has been broken for some time because its
no longer sent to a byte.Buffer. This change fixes that.

Change-Id: I6f846c7dc80f1ccee9fa1be36f0b579b3754e05f
Reviewed-on: https://go-review.googlesource.com/30823
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/tls/handshake_client_test.go