boringssl/ssl/test/runner
David Benjamin 8b8c006564 Fix DTLS_ANY_VERSION and add tests.
This fixes bugs that kept the tests from working:

- Resolve DTLS version and cookie before the session.

- In DTLS_ANY_VERSION, ServerHello should be read with first_packet = 1. This
  is a regression from f2fedefdca. We'll want to
  do the same for TLS, but first let's change this to a boolean has_version in a
  follow-up.

Things not yet fixed:

- DTLS code is not EVP_AEAD-aware. Those ciphers are disabled for now.

- On the client, DTLS_ANY_VERSION creates SSL_SESSIONs with the wrong
  ssl_version. The tests pass because we no longer enforce the match as of
  e37216f56009fbf48c3a1e733b7a546ca6dfc2af. (In fact, we've gone from the server
  ignoring ssl_version and client enforcing to the client mostly ignoring
  ssl_version and the server enforcing.)

- ssl3_send_client_hello's ssl_version check checks for equality against
  s->version rather than >.

Change-Id: I5a0dde221b2009413df9b9443882b9bf3b29519c
Reviewed-on: https://boringssl-review.googlesource.com/2403
Reviewed-by: Adam Langley <agl@google.com>
2014-12-02 19:27:54 +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
channel_id_key.pem Add basic TLS Channel ID tests. 2014-08-26 17:40:36 +00:00
cipher_suites.go Add tests for ECDHE_PSK. 2014-10-29 20:33:09 +00:00
common.go Add tests for OCSP stapling and SCT lists. 2014-12-02 19:26:01 +00:00
conn.go Add DTLS-SRTP tests. 2014-11-18 22:16:53 +00:00
dtls.go Add DTLS replay tests. 2014-11-10 23:58: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 tests for session-ID-based resumption. 2014-11-21 21:35:39 +00:00
handshake_messages.go Add tests for OCSP stapling and SCT lists. 2014-12-02 19:26:01 +00:00
handshake_server.go Add tests for OCSP stapling and SCT lists. 2014-12-02 19:26:01 +00:00
key_agreement.go Add tests for signature algorithm negotiation. 2014-11-18 22:30:03 +00:00
key.pem Inital import. 2014-06-20 13:17:32 -07:00
packet_adapter.go Add DTLS replay tests. 2014-11-10 23:58:56 +00:00
prf.go Add tests for signature algorithm negotiation. 2014-11-18 22:30:03 +00:00
recordingconn.go Extended master secret support. 2014-10-24 21:19:44 +00:00
runner.go Fix DTLS_ANY_VERSION and add tests. 2014-12-02 19:27: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