Implement legacy fallback for the TLS 1.3 client.
authorjsing <jsing@openbsd.org>
Thu, 4 Apr 2019 16:53:57 +0000 (16:53 +0000)
committerjsing <jsing@openbsd.org>
Thu, 4 Apr 2019 16:53:57 +0000 (16:53 +0000)
commit1fdae6bff5c3a0b1adc93d9caed427f888a3aeab
treea5aa2c2bade79ab20a92be12b5c1254d12c14cc1
parente58f6cbccfc575d5a35c909de132911b190c623a
Implement legacy fallback for the TLS 1.3 client.

If the Server Hello received indicates that the server did not negotiate
TLS 1.3, fallback to the original TLS client implementation.

ok bcook@, tb@
lib/libssl/tls13_client.c
lib/libssl/tls13_handshake.c
lib/libssl/tls13_internal.h