Add ssl_get_client_min_max_version() function
authorKurt Roeckx <kurt@roeckx.be>
Sun, 7 Feb 2016 19:07:21 +0000 (20:07 +0100)
committerKurt Roeckx <kurt@roeckx.be>
Wed, 9 Mar 2016 18:10:28 +0000 (19:10 +0100)
commit068c358ac314032e9102b6741a0a99fdf15c5527
tree4516bb166c4c062bdee70704f9d511318b83768b
parentb11836a63a8973c2b61f8ccd10a085361bced2ea
Add ssl_get_client_min_max_version() function

Adjust ssl_set_client_hello_version to get both the minimum and maximum and then
make ssl_set_client_hello_version use the maximum version.

Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
MR: #1595
ssl/ssl_locl.h
ssl/statem/statem_lib.c