boringssl/ssl
David Benjamin a861460c89 Make SNI per-connection, not per-session.
Right now we report the per-connection value during the handshake and
the per-session value after the handshake. This also trims our tickets
slightly by removing a largely unused field from SSL_SESSION.

Putting it on SSL_HANDSHAKE would be better, but sadly a number of
bindings-type APIs expose it after the handshake.

Change-Id: I6a1383f95da9b1b141b9d6adadc05ee1e458a326
Reviewed-on: https://boringssl-review.googlesource.com/20064
Commit-Queue: David Benjamin <davidben@google.com>
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-09-06 20:25:26 +00:00
..
test ssl/test/runner: Change ecdsa.PublicKey initialization 2017-09-06 18:19:16 +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 SSL3_STATE ints to bools. 2017-09-01 15:07:32 +00:00
d1_lib.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
d1_pkt.cc More miscellaneous bools. 2017-09-01 15:07:52 +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 More miscellaneous bools. 2017-09-01 15:07:52 +00:00
handshake_server.cc Make SNI per-connection, not per-session. 2017-09-06 20:25:26 +00:00
handshake.cc More miscellaneous bools. 2017-09-01 15:07:52 +00:00
internal.h Make SNI per-connection, not per-session. 2017-09-06 20:25:26 +00:00
s3_both.cc SSL3_STATE ints to bools. 2017-09-01 15:07:32 +00:00
s3_lib.cc Make SNI per-connection, not per-session. 2017-09-06 20:25:26 +00:00
s3_pkt.cc More miscellaneous bools. 2017-09-01 15:07:52 +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 Make SNI per-connection, not per-session. 2017-09-06 20:25:26 +00:00
ssl_buffer.cc Zero memory in |OPENSSL_free|. 2017-09-06 19:22:46 +00:00
ssl_cert.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
ssl_cipher.cc Zero memory in |OPENSSL_free|. 2017-09-06 19:22:46 +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 Make SNI per-connection, not per-session. 2017-09-06 20:25:26 +00:00
ssl_privkey.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
ssl_session.cc Make SNI per-connection, not per-session. 2017-09-06 20:25:26 +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 Make SNI per-connection, not per-session. 2017-09-06 20:25:26 +00:00
ssl_transcript.cc Remove unnecessary parameter. 2017-08-31 14:18:26 +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 Make SNI per-connection, not per-session. 2017-09-06 20:25:26 +00:00
tls13_both.cc More miscellaneous bools. 2017-09-01 15:07:52 +00:00
tls13_client.cc More miscellaneous bools. 2017-09-01 15:07:52 +00:00
tls13_enc.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
tls13_server.cc Make SNI per-connection, not per-session. 2017-09-06 20:25:26 +00:00
tls_method.cc Convert comments in ssl. 2017-08-29 21:33:32 +00:00
tls_record.cc SSL3_STATE ints to bools. 2017-09-01 15:07:32 +00:00