Commit 63ef0db6 authored by Adam Langley's avatar Adam Langley Committed by Matt Caswell
Browse files

Don't set client_version to the ServerHello version.



The client_version needs to be preserved for the RSA key exchange.

This change also means that renegotiation will, like TLS, repeat the old
client_version rather than advertise only the final version. (Either way,
version change on renego is not allowed.) This is necessary in TLS to work
around an SChannel bug, but it's not strictly necessary in DTLS.

(From BoringSSL)

Reviewed-by: default avatarEmilia Käsper <emilia@openssl.org>
(cherry picked from commit ec1af3c4)
parent f74f5c85
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment