aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/src/ssl_api.hrl
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2016-07-19 10:55:30 +0200
committerRaimo Niskanen <[email protected]>2016-07-21 10:42:52 +0200
commita138a928849f3b68a2542f2592e95e7362217e3d (patch)
tree8690ce3064c9c75477c5ad495a61d9d30fcff2ed /lib/ssl/src/ssl_api.hrl
parent53e7743216647d810d529e397bd3ea7278c6047c (diff)
downloadotp-a138a928849f3b68a2542f2592e95e7362217e3d.tar.gz
otp-a138a928849f3b68a2542f2592e95e7362217e3d.tar.bz2
otp-a138a928849f3b68a2542f2592e95e7362217e3d.zip
Improve version selection
Use the list of versions that the server allows and among those choose the highest version that is not higher than the client's version. Note that this chosen version might be lower than the client's version, but is used to improve interoperability. Patch suggested by Dimitry Borisov refering to RFC 5246 appendix E.1.
Diffstat (limited to 'lib/ssl/src/ssl_api.hrl')
0 files changed, 0 insertions, 0 deletions