a565d29ce6
For TLS, this machinery only exists to swallow no_certificate alerts which only get sent in an SSL 3.0 codepath anyway. It's much less a no-op for SSL 3.0 which, strictly speaking, has only a subset of TLS's alerts. This gets messy around version negotiation because of the complex relationship between enc_method, have_version, and version which all get set at different times. Given that SSL 3.0 is nearly dead and all these alerts are fatal to the connection anyway, this doesn't seem worth carrying around. (It doesn't work very well anyway. An SSLv3-only server may still send a record_overflow alert before version negotiation.) This removes the last place enc_method is accessed prior to version negotiation. Change-Id: I79a704259fca69e4df76bd5a6846c9373f46f5a9 Reviewed-on: https://boringssl-review.googlesource.com/6843 Reviewed-by: Adam Langley <alangley@gmail.com> |
||
---|---|---|
.. | ||
curve25519 | ||
poly1305 | ||
alert.go | ||
cert.pem | ||
chacha20_poly1305_test.go | ||
chacha20_poly1305.go | ||
channel_id_key.pem | ||
cipher_suites.go | ||
common.go | ||
conn.go | ||
dtls.go | ||
ecdsa_cert.pem | ||
ecdsa_key.pem | ||
handshake_client.go | ||
handshake_messages.go | ||
handshake_server.go | ||
key_agreement.go | ||
key.pem | ||
packet_adapter.go | ||
prf.go | ||
recordingconn.go | ||
runner_test.go | ||
runner.go | ||
test_output.go | ||
ticket.go | ||
tls.go |