55a436497f
See upstream's bd891f098bdfcaa285c073ce556d0f5e27ec3a10. It honestly seems kinda dumb for a client to do this, but apparently the spec allows this. Judging by code inspection, OpenSSL 1.0.1 also allowed this, so this avoids a behavior change when switching from 1.0.1 to BoringSSL. Add a test for this, which revealed that, unlike upstream's version, this actually works with ecdh_auto since tls1_get_shared_curve also needs updating. (To be mentioned in newsletter.) Change-Id: Ie622700f17835965457034393b90f346740cfca8 Reviewed-on: https://boringssl-review.googlesource.com/4464 Reviewed-by: Adam Langley <agl@google.com> |
||
---|---|---|
.. | ||
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 | ||
poly1305.go | ||
prf.go | ||
recordingconn.go | ||
runner.go | ||
test_output.go | ||
ticket.go | ||
tls.go |