boringssl/ssl/test
David Benjamin 931ab3484f Fix handshake check when False Start is used with implicit read.
It may take up to two iterations of s->handshake_func before it is safe to
continue. Fortunately, even if anything was using False Start this way
(Chromium doesn't), we don't inherit NSS's security bug. The "redundant" check
in the type match case later on in this function saves us.

Amusingly, the success case still worked before this fix. Even though we fall
through to the post-handshake codepath and get a handshake record while
"expecting" app data, the handshake state machine is still pumped thanks to a
codepath meant for renego!

Change-Id: Ie129d83ac1451ad4947c4f86380879db8a3fd924
Reviewed-on: https://boringssl-review.googlesource.com/3335
Reviewed-by: Adam Langley <agl@google.com>
2015-02-09 19:52:08 +00:00
..
runner Fix handshake check when False Start is used with implicit read. 2015-02-09 19:52:08 +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