boringssl/ssl/test/runner
David Benjamin 492c9aa90c Fill in a fake session ID for TLS 1.3.
Historically, OpenSSL filled in a fake session ID for ticket-only
client sessions. Conscrypt relies on this to implement some weird Java
API where every session has an ID and may be queried out of the client
session cache and, e.g., revoked that way.

(Note that a correct client session cache is not keyed by session ID and
indeed this allows one server to knock out another server's sessions by
matching session IDs. But existing APIs are existing APIs.)

For consistency between TLS 1.2 and TLS 1.3, as well as matching
OpenSSL's TLS 1.3 implementation, do the same in TLS 1.3. Note this
smooths over our cross-version resumption tests by allowing for
something odd: it is now syntactically possible to resume a TLS 1.3
session at TLS 1.2. It doesn't matter either way, but now a different
codepath rejects certain cases.

Change-Id: I9caf4f0c3b2e2e24ae25752826d47bce77e65616
Reviewed-on: https://boringssl-review.googlesource.com/31525
Reviewed-by: Steven Valdez <svaldez@google.com>
Commit-Queue: David Benjamin <davidben@google.com>
CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
2018-09-06 18:12:11 +00:00
..
curve25519
ed25519
poly1305
alert.go Implement legacy OCSP APIs for libssl. 2018-05-11 22:21:26 +00:00
cert.pem
chacha20_poly1305_test.go
chacha20_poly1305.go
channel_id_key.pem
cipher_suites.go
common.go Switch the default TLS 1.3 variant to tls13_rfc. 2018-08-28 13:58:28 +00:00
conn.go Preliminary support for compressed certificates. 2018-06-04 21:24:20 +00:00
deterministic.go
dtls.go
ecdsa_p224_cert.pem
ecdsa_p224_key.pem
ecdsa_p256_cert.pem
ecdsa_p256_key.pem
ecdsa_p384_cert.pem
ecdsa_p384_key.pem
ecdsa_p521_cert.pem
ecdsa_p521_key.pem
ed25519_cert.pem
ed25519_key.pem
fuzzer_mode.json Fix fuzzer mode suppressions. 2018-01-31 22:57:51 +00:00
handshake_client.go Update TLS 1.3 citations for the final RFC. 2018-08-16 18:37:50 +00:00
handshake_messages.go Update TLS 1.3 citations for the final RFC. 2018-08-16 18:37:50 +00:00
handshake_server.go Update TLS 1.3 citations for the final RFC. 2018-08-16 18:37:50 +00:00
hkdf_test.go
hkdf.go
key_agreement.go Test the high-order bit in X25519. 2018-04-19 00:56:35 +00:00
key.pem
packet_adapter.go
prf.go Update TLS 1.3 citations for the final RFC. 2018-08-16 18:37:50 +00:00
recordingconn.go
rsa_1024_cert.pem
rsa_1024_key.pem
rsa_chain_cert.pem
rsa_chain_key.pem
runner_test.go
runner.go Fill in a fake session ID for TLS 1.3. 2018-09-06 18:12:11 +00:00
shim_ticket.go
sign.go
test_output.go
ticket.go
tls.go