boringssl/ssl/test/runner
David Benjamin ba4594aee6 Don't put sessions from renegotiations in the cache.
Rather than rely on Chromium to query SSL_initial_handshake_complete in the
callback (which didn't work anyway because the callback is called afterwards),
move the logic into BoringSSL. BoringSSL already enforces that clients never
offer resumptions on renegotiation (it wouldn't work well anyway as client
session cache lookup is external), so it's reasonable to also implement
in-library that sessions established on a renegotiation are not cached.

Add a bunch of tests that new_session_cb is called when expected.

BUG=501418

Change-Id: I42d44c82b043af72b60a0f8fdb57799e20f13ed5
Reviewed-on: https://boringssl-review.googlesource.com/5171
Reviewed-by: Adam Langley <agl@google.com>
2015-06-18 23:40:51 +00:00
..
alert.go Inital import. 2014-06-20 13:17:32 -07:00
cert.pem Inital import. 2014-06-20 13:17:32 -07:00
chacha20_poly1305_test.go Add tests for CHACHA20_POLY1305 ciphers. 2015-04-08 20:47:08 +00:00
chacha20_poly1305.go Add tests for CHACHA20_POLY1305 ciphers. 2015-04-08 20:47:08 +00:00
channel_id_key.pem Add basic TLS Channel ID tests. 2014-08-26 17:40:36 +00:00
cipher_suites.go Add ECDHE-PSK-AES{128,256}-SHA cipher suites. 2015-06-09 18:10:42 +00:00
common.go DTLS fragments may not be split across two records. 2015-06-16 18:20:56 +00:00
conn.go Limit the number of warning alerts silently consumed. 2015-06-08 22:16:14 +00:00
dtls.go DTLS fragments may not be split across two records. 2015-06-16 18:20:56 +00:00
ecdsa_cert.pem Inital import. 2014-06-20 13:17:32 -07:00
ecdsa_key.pem Inital import. 2014-06-20 13:17:32 -07:00
handshake_client.go Add SSL_get_tls_unique. 2015-06-04 22:10:22 +00:00
handshake_messages.go Add tests for OCSP stapling and SCT lists. 2014-12-02 19:26:01 +00:00
handshake_server.go Explicitly check for empty certificate list. 2015-06-08 22:19:00 +00:00
key_agreement.go Set minimum DH group size to 1024 bits. 2015-05-20 18:35:31 +00:00
key.pem Inital import. 2014-06-20 13:17:32 -07:00
packet_adapter.go runner: fix a couple of nits from govet. 2015-04-17 21:45:50 +00:00
poly1305.go Add tests for CHACHA20_POLY1305 ciphers. 2015-04-08 20:47:08 +00:00
prf.go Test that signature_algorithm preferences are enforced. 2015-03-20 18:23:54 +00:00
recordingconn.go Extended master secret support. 2014-10-24 21:19:44 +00:00
runner.go Don't put sessions from renegotiations in the cache. 2015-06-18 23:40:51 +00:00
test_output.go runner and all_tests should exit with failure on failing tests. 2015-04-06 20:49:54 +00:00
ticket.go Extended master secret support. 2014-10-24 21:19:44 +00:00
tls.go Add DTLS replay tests. 2014-11-10 23:58:56 +00:00