]> Cypherpunks repositories - gostls13.git/commit
crypto/tls: simplify keylog tests.
authorAdam Langley <agl@golang.org>
Fri, 30 Sep 2016 19:55:25 +0000 (12:55 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 1 Oct 2016 15:50:11 +0000 (15:50 +0000)
commit2878cf14f3bb4c097771e50a481fec43962d7401
tree3a74a707c2644f9f7a26c25d90ff4d2b16d1d626
parent7b40b0c3a332cbfaa1eb17bdafd2ddf12119ec45
crypto/tls: simplify keylog tests.

Since there's no aspect of key logging that OpenSSL can check for us,
the tests for it might as well just connect to another goroutine as this
is lower-maintainance.

Change-Id: I746d1dbad1b4bbfc8ef6ccf136ee4824dbda021e
Reviewed-on: https://go-review.googlesource.com/30089
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Joonas Kuorilehto <joneskoo@derbian.fi>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/crypto/tls/common.go
src/crypto/tls/handshake_client.go
src/crypto/tls/handshake_client_test.go
src/crypto/tls/handshake_server_test.go
src/crypto/tls/testdata/Client-TLSv10-KeyLogWriter [deleted file]
src/crypto/tls/testdata/Server-TLSv10-KeyLogWriter [deleted file]