boringssl/ssl/test/runner
David Benjamin fa544f1c05 Reject if the ALPN callback returned an empty protocol.
If the callback returns an empty ALPN, we forget we negotiated ALPN at
all (bssl::Array does not distinguish null and empty). Empty ALPN
protocols are forbidden anyway, so reject these ahead of time.

Change-Id: I42f1fc4c843bc865e23fb2a2e5d57424b569ee99
Reviewed-on: https://boringssl-review.googlesource.com/28546
Reviewed-by: Adam Langley <agl@google.com>
2018-05-15 23:02:39 +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 Remove RC4 remnants in runner. 2017-11-01 16:45:36 +00:00
common.go Allow enabling all TLS 1.3 variants by setting |tls13_default|. 2018-05-10 20:27:34 +00:00
conn.go Implement TLS 1.3 draft28. 2018-04-05 03:36:11 +00:00
deterministic.go
dtls.go Test DTLS record/packet packing more aggressively. 2017-10-13 17:32:55 +00:00
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 Enforce supported_versions in the second ServerHello. 2018-05-07 19:05:20 +00:00
handshake_messages.go Enforce supported_versions in the second ServerHello. 2018-05-07 19:05:20 +00:00
handshake_server.go Enforce supported_versions in the second ServerHello. 2018-05-07 19:05:20 +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 Remove draft22 and experiment2. 2018-01-31 18:07:53 +00:00
recordingconn.go Add DTLS fuzzers. 2017-09-07 22:26:50 +00:00
rsa_1024_cert.pem
rsa_1024_key.pem
rsa_chain_cert.pem
rsa_chain_key.pem
runner_test.go
runner.go Reject if the ALPN callback returned an empty protocol. 2018-05-15 23:02:39 +00:00
shim_ticket.go
sign.go
test_output.go
ticket.go
tls.go