]> granicus.if.org Git - curl/commit
openssl: make the requested TLS version the *minimum* wanted
authorDaniel Stenberg <daniel@haxx.se>
Thu, 28 Jun 2018 21:24:21 +0000 (23:24 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 29 Jun 2018 20:53:02 +0000 (22:53 +0200)
commit6015cefb1b2cfde4b4850121c42405275e5e77d9
tree3a42ba355562498d6d4885f00812a548833a7251
parentb83e3e603fe59d49d947337b23f7eebdfa82ca01
openssl: make the requested TLS version the *minimum* wanted

The code treated the set version as the *exact* version to require in
the TLS handshake, which is not what other TLS backends do and probably
not what most people expect either.

Reported-by: Andreas Olsson
Assisted-by: Gaurav Malhotra
Fixes #2691
Closes #2694
docs/cmdline-opts/tlsv1.1.d
docs/cmdline-opts/tlsv1.2.d
docs/cmdline-opts/tlsv1.3.d
docs/libcurl/opts/CURLOPT_SSLVERSION.3
lib/vtls/openssl.c