boringssl/ssl/test
David Benjamin 0b7ca7dc00 Add tests for doing client auth with no certificates.
In TLS, you never skip the Certificate message. It may be empty, but its
presence is determined by CertificateRequest. (This is sensible.)

In SSL 3.0, the client omits the Certificate message. This means you need to
probe and may receive either Certificate or ClientKeyExchange (thankfully,
ClientKeyExchange is not optional, or we'd have to probe at ChangeCipherSpec).

We didn't have test coverage for this, despite some of this logic being a
little subtle asynchronously. Fix this.

Change-Id: I149490ae5506f02fa0136cb41f8fea381637bf45
Reviewed-on: https://boringssl-review.googlesource.com/7419
Reviewed-by: Steven Valdez <svaldez@google.com>
Reviewed-by: David Benjamin <davidben@google.com>
2016-03-11 19:09:59 +00:00
..
runner Add tests for doing client auth with no certificates. 2016-03-11 19:09:59 +00:00
async_bio.cc Fix DTLS asynchronous write handling. 2015-11-02 23:16:22 +00:00
async_bio.h Fix DTLS asynchronous write handling. 2015-11-02 23:16:22 +00:00
bssl_shim.cc Add tests for the old client cert callback. 2016-03-10 20:53:13 +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 Include <sys/time.h> in packeted_bio.h for 'timeval' 2015-12-15 18:11:18 +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 the old client cert callback. 2016-03-10 20:53:13 +00:00
test_config.h Add tests for the old client cert callback. 2016-03-10 20:53:13 +00:00