Fedor Indutny ccae4a1582 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: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>

GH: #852, MR: #2452
2016-03-27 23:58:50 +02:00
..
2016-03-21 16:49:10 -04:00
2016-03-21 16:33:59 +00:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2016-01-26 16:40:43 -05:00
2016-03-20 19:48:36 -04:00
2016-01-26 16:40:43 -05:00
2016-03-20 19:48:36 -04:00
2016-03-20 19:48:36 -04:00
2016-03-20 19:48:36 -04:00
2016-01-26 16:40:43 -05:00
2016-03-03 13:27:34 +00:00
2016-01-26 16:40:43 -05:00
2016-02-15 10:17:12 -05:00
2016-03-20 19:48:36 -04:00
2016-03-20 19:48:36 -04:00
2016-03-20 21:09:32 -04:00
2016-02-18 17:14:50 -05:00
2016-01-26 16:40:43 -05:00