]> git.ipfire.org Git - thirdparty/curl.git/commit
openssl: check CURL_SSLVERSION_MAX_DEFAULT properly
authorStefan Eissing <stefan@eissing.org>
Mon, 3 Nov 2025 15:01:56 +0000 (16:01 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 3 Nov 2025 15:31:22 +0000 (16:31 +0100)
commitcccc65f05190adc8276d6f7a8071c8a45ca7f779
tree71484c0d8d04480a33b72f2d99a0125cc1002c69
parent7e91f24c73256af59ac9061c41b73a184c4690aa
openssl: check CURL_SSLVERSION_MAX_DEFAULT properly

The definition of these constants does not give a numeric ordering
and MAX_DEFAULT needs to be checked in addition of ciphers and QUIC
checks to apply correctly.

Fixes #19340
Reported-by: Peter Piekarski
Closes #19341
lib/vtls/openssl.c