tls: Allow setting both minimum and maximum TLS versions
authorTobias Brunner <tobias@strongswan.org>
Wed, 26 Aug 2020 12:37:59 +0000 (14:37 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 12 Feb 2021 10:45:44 +0000 (11:45 +0100)
commitc4576a1f5789804c272439dd12626aecd3623fc7
tree9dc3a83b092fda996e8f9ac1133fbbf17ac47ec8
parent2b6565c236dc7b4d4bfb967f7b1db34c834501d4
tls: Allow setting both minimum and maximum TLS versions

This allows to increase the initial minimum version and also prevents
sending a list of versions during retries when 1.3 was already
negotiated.
src/libtls/tls.c
src/libtls/tls.h
src/libtls/tls_peer.c
src/libtls/tls_server.c
src/libtls/tls_socket.c