]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9791 Fix compilation with openssl exclusions
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>
Tue, 25 Jan 2022 15:36:18 +0000 (17:36 +0200)
committerQuanah Gibson-Mount <quanah@openldap.org>
Wed, 2 Feb 2022 17:09:30 +0000 (17:09 +0000)
libraries/libldap/tls_o.c

index c31c657362e77ad4da8f721c335fbc01f95d7411..834d9867c0a330b2c0af2bea4645c375afa60fde 100644 (file)
@@ -1026,8 +1026,12 @@ tlso_session_endpoint( tls_session *sess, struct berval *buf, int is_server )
 #ifndef OPENSSL_NO_MD2
             md == EVP_md2() ||
 #endif
+#ifndef OPENSSL_NO_MD4
             md == EVP_md4() ||
+#endif
+#ifndef OPENSSL_NO_MD5
             md == EVP_md5() ||
+#endif
             md == EVP_sha1() )
                md = EVP_sha256();