boringssl/ssl/test
David Benjamin 55a436497f Handle empty curve preferences from the client.
See upstream's bd891f098bdfcaa285c073ce556d0f5e27ec3a10. It honestly seems
kinda dumb for a client to do this, but apparently the spec allows this.
Judging by code inspection, OpenSSL 1.0.1 also allowed this, so this avoids a
behavior change when switching from 1.0.1 to BoringSSL.

Add a test for this, which revealed that, unlike upstream's version, this
actually works with ecdh_auto since tls1_get_shared_curve also needs updating.
(To be mentioned in newsletter.)

Change-Id: Ie622700f17835965457034393b90f346740cfca8
Reviewed-on: https://boringssl-review.googlesource.com/4464
Reviewed-by: Adam Langley <agl@google.com>
2015-04-28 20:44:01 +00:00
..
runner Handle empty curve preferences from the client. 2015-04-28 20:44:01 +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 SSL_set_reject_peer_renegotiations. 2015-04-13 22:38:58 +00:00
CMakeLists.txt Remove unnecessary -ldl and clean up includes for malloc tests. 2015-03-21 00:07:42 +00:00
malloc.cc Disable the malloc test interceptor on ASan. 2015-04-01 20:08:18 +00:00
packeted_bio.cc Include-what-you-use ssl/internal.h. 2015-04-10 22:15:02 +00:00
packeted_bio.h Remove std::unique_ptr dependency on bssl_shim's scoped types. 2015-03-31 23:03:06 +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 SSL_set_reject_peer_renegotiations. 2015-04-13 22:38:58 +00:00
test_config.h Add SSL_set_reject_peer_renegotiations. 2015-04-13 22:38:58 +00:00