boringssl/ssl/test/runner
David Benjamin bde00394f0 Stop messing with ssl->version before sending protocol_version.
This is the only codepath where ssl->version can get a garbage value, which is
a little concerning. Since, in all these cases, the peer is failing to connect
and speaks so low a version we don't even accept it anymore, there is probably
not much value in letting them distinguish protocol_version from a record-layer
version number mismatch, where enforced (which will give a version-related
error anyway).

Should we get a decode_error or so just before version negotiation, we'd have
this behavior already.

Change-Id: I9b3e5685ab9c9ad32a7b7e3129363cd1d4cdaaf4
Reviewed-on: https://boringssl-review.googlesource.com/8420
Reviewed-by: Steven Valdez <svaldez@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
2016-06-22 13:59:16 +00:00
..
curve25519 Bundle a copy of golang.org/x/crypto/curve25519 for testing. 2015-12-22 17:47:53 +00:00
newhope Avoid overflow in newhope.go. 2016-06-08 20:10:48 +00:00
poly1305 Switch the bundled poly1305 to relative imports. 2015-12-22 17:47:28 +00:00
alert.go Add tests for doing client auth with no certificates. 2016-03-11 19:09:59 +00:00
cert.pem
chacha20_poly1305_test.go Add ISC license to Go files that were missing a license. 2016-05-20 18:11:38 +00:00
chacha20_poly1305.go Add ISC license to Go files that were missing a license. 2016-05-20 18:11:38 +00:00
channel_id_key.pem Add basic TLS Channel ID tests. 2014-08-26 17:40:36 +00:00
cipher_suites.go Add TLS 1.3 record layer to go implementation. 2016-06-21 21:43:40 +00:00
common.go Add TLS 1.3 record layer to go implementation. 2016-06-21 21:43:40 +00:00
conn.go Stop messing with ssl->version before sending protocol_version. 2016-06-22 13:59:16 +00:00
deterministic.go Add a deterministic PRNG for runner. 2016-06-08 20:15:48 +00:00
dtls.go Stop messing with ssl->version before sending protocol_version. 2016-06-22 13:59:16 +00:00
ecdsa_cert.pem
ecdsa_key.pem
handshake_client.go Add TLS 1.3 record layer to go implementation. 2016-06-21 21:43:40 +00:00
handshake_messages.go Update references to the extended master secret draft. 2016-02-02 16:37:55 +00:00
handshake_server.go Add TLS 1.3 record layer to go implementation. 2016-06-21 21:43:40 +00:00
key_agreement.go newhope: test corrupt key exchange messages. 2016-06-13 23:11:49 +00:00
key.pem
packet_adapter.go Add tests for bad ChangeCipherSpecs. 2015-12-16 17:39:43 +00:00
prf.go Add TLS 1.3 record layer to go implementation. 2016-06-21 21:43:40 +00:00
recordingconn.go Add ISC license to Go files that were missing a license. 2016-05-20 18:11:38 +00:00
runner_test.go Add ISC license to Go files that were missing a license. 2016-05-20 18:11:38 +00:00
runner.go Add TLS 1.3 record layer to go implementation. 2016-06-21 21:43:40 +00:00
test_output.go Make the runner tests a go “test” 2015-09-30 17:10:45 +00:00
ticket.go Make the runner tests a go “test” 2015-09-30 17:10:45 +00:00
tls.go Make the runner tests a go “test” 2015-09-30 17:10:45 +00:00