]> git.ipfire.org Git - thirdparty/bind9.git/commit
TLS context handling code: Fix an abort on ancient OpenSSL version
authorArtem Boldariev <artem@boldariev.com>
Tue, 30 Nov 2021 08:42:23 +0000 (10:42 +0200)
committerArtem Boldariev <artem@boldariev.com>
Wed, 1 Dec 2021 10:00:30 +0000 (12:00 +0200)
commit5f859d8a98abbb69aaa4f2bbb3b26de10fe4318a
treeda3fa4acaf6ed12426b2888786e1e42ca567d49e
parent746052031a605a3deb09ff7ddedf05330be0acc9
TLS context handling code: Fix an abort on ancient OpenSSL version

There was a logical bug when setting a list of enabled TLS protocols,
which may lead to a crash (an abort()) on systems with ancient OpenSSL
versions.

The problem was due to the fact that we were INSIST()ing on supporting
all of the TLS versions, while checking only for mentioned in the
configuration was implied.
lib/isc/tls.c