boringssl/ssl/test/runner
David Benjamin e0e7d0da68 Initialize the record buffers after the handshake check.
The new V2ClientHello sniff asserts, for safety, that nothing else has
initialized the record layer before it runs. However, OpenSSL allows you to
avoid explicitly calling SSL_connect/SSL_accept and instead let
SSL_read/SSL_write implicitly handshake for you. This check happens at a fairly
low-level in the ssl3_read_bytes function, at which point the record layer has
already been initialized.

Add some tests to ensure this mode works.

(Later we'll lift the handshake check to a higher-level which is probably
simpler.)

Change-Id: Ibeb7fb78e5eb75af5411ba15799248d94f12820b
Reviewed-on: https://boringssl-review.googlesource.com/3334
Reviewed-by: Adam Langley <agl@google.com>
2015-02-09 19:49:45 +00:00
..
alert.go Inital import. 2014-06-20 13:17:32 -07:00
cert.pem Inital import. 2014-06-20 13:17:32 -07:00
channel_id_key.pem Add basic TLS Channel ID tests. 2014-08-26 17:40:36 +00:00
cipher_suites.go Don't set client_version to the ServerHello version. 2014-12-11 18:49:42 +00:00
common.go Test that False Start fails if the server second leg is omitted. 2015-02-09 19:43:48 +00:00
conn.go Add test coverage for normal alert parsing. 2015-02-03 21:57:02 +00:00
dtls.go Simplify DTLS epoch rewind. 2015-02-03 20:34:06 +00:00
ecdsa_cert.pem Inital import. 2014-06-20 13:17:32 -07:00
ecdsa_key.pem Inital import. 2014-06-20 13:17:32 -07:00
handshake_client.go Test that False Start fails if the server second leg is omitted. 2015-02-09 19:43:48 +00:00
handshake_messages.go Add tests for OCSP stapling and SCT lists. 2014-12-02 19:26:01 +00:00
handshake_server.go Test that False Start fails if the server second leg is omitted. 2015-02-09 19:43:48 +00:00
key_agreement.go Don't set client_version to the ServerHello version. 2014-12-11 18:49:42 +00:00
key.pem Inital import. 2014-06-20 13:17:32 -07:00
packet_adapter.go Add DTLS timeout and retransmit tests. 2015-02-03 00:40:58 +00:00
prf.go Add tests for signature algorithm negotiation. 2014-11-18 22:30:03 +00:00
recordingconn.go Extended master secret support. 2014-10-24 21:19:44 +00:00
runner.go Initialize the record buffers after the handshake check. 2015-02-09 19:49:45 +00:00
ticket.go Extended master secret support. 2014-10-24 21:19:44 +00:00
tls.go Add DTLS replay tests. 2014-11-10 23:58:56 +00:00