boringssl/ssl
David Benjamin 0a471910b4 Test empty extensions fields are omitted.
For historical reasons, TLS allows ServerHellos (and ClientHellos)
without extensions to omit the extensions fields entirely.
https://github.com/openssl/openssl/pull/4296 reports this is even
necessary for compatibility with extension-less clients. We continue to
do so, but add a test for it anyway.

Change-Id: I63c2e3a5f298674eb21952fca6914dad07d7c245
Reviewed-on: https://boringssl-review.googlesource.com/19864
Commit-Queue: Steven Valdez <svaldez@google.com>
Reviewed-by: Steven Valdez <svaldez@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2017-08-31 14:17:36 +00:00
..
test Test empty extensions fields are omitted. 2017-08-31 14:17:36 +00:00
bio_ssl.cc Switch a number of files to C++. 2017-07-12 20:54:02 +00:00
CMakeLists.txt Migrate TLS 1.2 and below state machines to the new style. 2017-08-29 19:23:22 +00:00
custom_extensions.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
d1_both.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
d1_lib.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
d1_pkt.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
d1_srtp.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
dtls_method.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
dtls_record.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
handshake_client.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
handshake_server.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
handshake.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
internal.h Update style guide for C++. 2017-08-30 14:34:49 +00:00
s3_both.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
s3_lib.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
s3_pkt.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
span_test.cc Add bssl::SealRecord and bssl::OpenRecord. 2017-07-24 20:14:08 +00:00
ssl_aead_ctx.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
ssl_asn1.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
ssl_buffer.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
ssl_cert.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
ssl_cipher.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
ssl_file.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
ssl_key_share.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
ssl_lib.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
ssl_privkey.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
ssl_session.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
ssl_stat.cc Migrate TLS 1.2 and below state machines to the new style. 2017-08-29 19:23:22 +00:00
ssl_test.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
ssl_transcript.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
ssl_versions.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
ssl_x509.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
t1_enc.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
t1_lib.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
tls13_both.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
tls13_client.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
tls13_enc.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
tls13_server.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
tls_method.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
tls_record.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00