]> git.ipfire.org Git - thirdparty/curl.git/commit
gnutls: make setting only the MAX TLS allowed version work
authorDaniel Stenberg <daniel@haxx.se>
Tue, 4 May 2021 11:34:14 +0000 (13:34 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 5 May 2021 10:51:56 +0000 (12:51 +0200)
commit781864bedbc57e2e2532bde7cf64db9af7b80d05
tree219708461c52f140c65648a31aca3a6e0c24bdb6
parent8bdde6b14ce3b5fd71c772a578fcbd4b6fa6df19
gnutls: make setting only the MAX TLS allowed version work

Previously, settting only the max allowed TLS version, leaving the
minimum one at default, didn't actually set it and left it to default
(TLS 1.3) too!

As a bonus, this change also removes the dead code handling of SSLv3
since that version can't be set anymore (since eff614fb0242cb).

Reported-by: Daniel Carpenter
Fixes #6998
Closes #7000
lib/vtls/gtls.c