]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix tls-min-version= being ignored
authorAmos Jeffries <amosjeffries@squid-cache.org>
Sat, 10 Nov 2018 04:00:12 +0000 (17:00 +1300)
committerAmos Jeffries <yadij@users.noreply.github.com>
Fri, 24 May 2019 11:27:14 +0000 (23:27 +1200)
commite15927a664cc2a0c70e0e2b4ce87b615fa8367dd
treefda33d9fb5772b5f0e7f3b2664a07a5e83a910a4
parentd665de37c2e6032068360b83b7ae372a77f5d0f4
Fix tls-min-version= being ignored

Audit required change to make PeerOptions::parse() call
parseOptions() when 'options=' altered sslOptions instead of
delaying the parse to context creation.
This missed the fact that for GnuTLS the tlsMinVersion was
also updating the sslOptions string rather than the
parsedOptions variable later in the configuration process.

Call parseOptions() to reset the parsedOptions value whenever
sslOptions string is altered.
src/security/PeerOptions.cc