boringssl/ssl/test
David Benjamin 128dbc30f6 Factor out the client max-version logic into a helper function.
Replace the comment with a clearer one and reimplement it much more tidily. The
mask thing was more complicated than was needed.

This slightly changes behavior on the DTLS_ANY_VERSION side in that, if only
one method is enabled, we no longer short-circuit to the version-locked method
early. This "optimization" seems unnecessary.

Change-Id: I571c8b60ed16bd4357c67d65df0dd1ef9cc5eb57
Reviewed-on: https://boringssl-review.googlesource.com/2451
Reviewed-by: Adam Langley <agl@google.com>
2014-12-02 19:42:39 +00:00
..
runner Factor out the client max-version logic into a helper function. 2014-12-02 19:42:39 +00:00
async_bio.cc Add initial DTLS tests. 2014-08-14 16:55:45 +00:00
async_bio.h Add initial DTLS tests. 2014-08-14 16:55:45 +00:00
bssl_shim.cc Merge client/server SSL_METHODs into the generic one. 2014-12-02 19:35:15 +00:00
CMakeLists.txt Add malloc failure tests. 2014-11-19 01:24:46 +00:00
malloc.cc Add malloc failure tests. 2014-11-19 01:24:46 +00:00
packeted_bio.cc Add malloc failure tests. 2014-11-19 01:24:46 +00:00
packeted_bio.h Add initial DTLS tests. 2014-08-14 16:55:45 +00:00
test_config.cc Add tests for OCSP stapling and SCT lists. 2014-12-02 19:26:01 +00:00
test_config.h Add tests for OCSP stapling and SCT lists. 2014-12-02 19:26:01 +00:00