]> git.ipfire.org Git - thirdparty/squid.git/commit
Fix GCC v10 --with-openssl build after commit 030a9b3 (#935)
authorAlex Rousskov <rousskov@measurement-factory.com>
Mon, 22 Nov 2021 19:07:09 +0000 (19:07 +0000)
committerSquid Anubis <squid-anubis@squid-cache.org>
Wed, 24 Nov 2021 19:10:03 +0000 (19:10 +0000)
commit084fa674b52fe6efe932deb3df013332ebc2cfad
treee09b850fef971352fa9b20c6067c0887a1dc35d8
parent90086c5a850470d7ce5b815c2f8612c3e59d1697
Fix GCC v10 --with-openssl build after commit 030a9b3 (#935)

    bio.cc:377:18: warning: unused variable 'ssl' [-Wunused-variable]

I removed the whole "we have a valid TLS connection" condition because
the code in question no longer uses the TLS connection object, and the
condition itself may change _after_ this code runs. The condition is
important to higher-level code (that calls the code that uses
allowSplice/allowBump state set in the affected low-level BIO method),
but there are many such conditions on that code path; there is no good
reason to single out this specific condition in this low-level code.
src/ssl/bio.cc