Commit ccae4a15 authored by Fedor Indutny's avatar Fedor Indutny Committed by Kurt Roeckx
Browse files

Allow different protocol version when trying to reuse a session



We now send the highest supported version by the client, even if the session
uses an older version.

This fixes 2 problems:
- When you try to reuse a session but the other side doesn't reuse it and
  uses a different protocol version the connection will fail.
- When you're trying to reuse a session with an old version you might be
  stuck trying to reuse the old version while both sides support a newer
  version

Signed-off-by: default avatarKurt Roeckx <kurt@roeckx.be>
Reviewed-by: default avatarViktor Dukhovni <viktor@openssl.org>

GH: #852, MR: #2452
parent ce84456d
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