boringssl/ssl/test
David Benjamin 30789da28e Add tests for bidirectional shutdown.
Now that it even works at all (type = 0 bug aside), add tests for it.
Test both close_notify being received before and after SSL_shutdown is
called. In the latter case, have the peer send some junk to be ignored
to test that works.

Also test that SSL_shutdown fails on unclean shutdown and that quiet
shutdowns ignore it.

BUG=526437

Change-Id: Iff13b08feb03e82f21ecab0c66d5f85aec256137
Reviewed-on: https://boringssl-review.googlesource.com/5769
Reviewed-by: Adam Langley <agl@google.com>
2015-08-31 19:06:50 +00:00
..
runner Add tests for bidirectional shutdown. 2015-08-31 19:06:50 +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 Add tests for bidirectional shutdown. 2015-08-31 19:06:50 +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 Add tests for bidirectional shutdown. 2015-08-31 19:06:50 +00:00
test_config.h Add tests for bidirectional shutdown. 2015-08-31 19:06:50 +00:00