]> git.ipfire.org Git - thirdparty/openldap.git/commit
ITS#10039 Test for SSL_CTX_set_ciphersuites()
authororbea <orbea@riseup.net>
Wed, 12 Apr 2023 19:55:46 +0000 (12:55 -0700)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 16 May 2023 16:55:17 +0000 (16:55 +0000)
commit9701abb45822f7ef25893f076f1cbdb86d37f68d
tree31094afb6eb66ea034ff3b43e1719d2d15241703
parentd2c7025a04c07fa4eb502ddaaa7957dffcd45fda
ITS#10039 Test for SSL_CTX_set_ciphersuites()

When configuring OpenLDAP using --with-tls=openssl with LibreSSL the
configure will fail to detect SSL_export_keyring_material_early() since
LibreSSL doesn't support this function yet. However OpenLDAP doesn't
actually use this function and only checks for it to ensure a modern
OpenSSL API is used. This can be easily solved by checking for an
equivalent modern OpenSSL function which both LibreSSL and OpenSSL both
support such as SSL_CTX_set_ciphersuites(). Doing this allows the build
and tests to succeed with modern LibreSSL versions. This was tested with
LibreSSL >= 3.6.

Bug: https://bugs.openldap.org/show_bug.cgi?id=10039
configure.ac