boringssl/ssl/test
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
..
runner Initialize the record buffers after the handshake check. 2015-02-09 19:49:45 +00:00
async_bio.cc Remove string.h from base.h. 2015-02-02 19:14:15 +00:00
async_bio.h Add initial DTLS tests. 2014-08-14 16:55:45 +00:00
bssl_shim.cc Initialize the record buffers after the handshake check. 2015-02-09 19:49:45 +00:00
CMakeLists.txt Change CMakeLists.txt to two-space indent. 2015-01-28 16:37:10 -08:00
malloc.cc aarch64 support. 2015-01-14 23:38:11 +00:00
packeted_bio.cc Add DTLS timeout and retransmit tests. 2015-02-03 00:40:58 +00:00
packeted_bio.h Add DTLS timeout and retransmit tests. 2015-02-03 00:40:58 +00:00
test_config.cc Initialize the record buffers after the handshake check. 2015-02-09 19:49:45 +00:00
test_config.h Initialize the record buffers after the handshake check. 2015-02-09 19:49:45 +00:00