]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use OpenSSL version macro instead of function check
authorAram Sargsyan <aram@isc.org>
Wed, 6 Oct 2021 14:18:49 +0000 (14:18 +0000)
committerAram Sargsyan <aram@isc.org>
Thu, 28 Oct 2021 07:39:37 +0000 (07:39 +0000)
commit965bdd98940ba8d338344e949b344342ccdca2be
tree56f81523936c401f7271088debdbf03c0095c9e3
parente18777c7582d54d227714882e9e79746ce48e002
Use OpenSSL version macro instead of function check

Unless being configured with the `no-deprecated` option, OpenSSL 3.0.0
still has the deprecated APIs present and will throw warnings during
compilation, when using them.

Make sure that the old APIs are being used only with the older versions
of OpenSSL.
lib/isc/tls.c