boringssl/ssl/test
David Benjamin 4cf369b920 Reject empty records of unexpected type.
The old empty record logic discarded the records at a very low-level.
Let the error bubble up to ssl3_read_bytes so the type mismatch logic
may kick in before the empty record is skipped.

Add tests for when the record in question is application data, before
before the handshake and post ChangeCipherSpec.

BUG=521840

Change-Id: I47dff389cda65d6672b9be39d7d89490331063fa
Reviewed-on: https://boringssl-review.googlesource.com/5754
Reviewed-by: Adam Langley <agl@google.com>
2015-08-28 22:03:00 +00:00
..
runner Reject empty records of unexpected type. 2015-08-28 22:03:00 +00:00
async_bio.cc Use just one style for the shim. 2015-02-10 01:18:24 +00:00
async_bio.h Remove std::unique_ptr dependency on bssl_shim's scoped types. 2015-03-31 23:03:06 +00:00
bssl_shim.cc Server-side OCSP stapling support. 2015-08-20 17:55:31 +00:00
CMakeLists.txt Add malloc test support to unit tests. 2015-05-21 17:59:48 +00:00
packeted_bio.cc Remove OPENSSL_timeval. 2015-05-08 18:03:07 +00:00
packeted_bio.h Remove OPENSSL_timeval. 2015-05-08 18:03:07 +00:00
scoped_types.h Remove std::unique_ptr dependency on bssl_shim's scoped types. 2015-03-31 23:03:06 +00:00
test_config.cc Server-side OCSP stapling support. 2015-08-20 17:55:31 +00:00
test_config.h Server-side OCSP stapling support. 2015-08-20 17:55:31 +00:00