mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
ITS#9791 Fix compilation with openssl exclusions
This commit is contained in:
parent
38e16e3b39
commit
04093763f9
@ -1050,8 +1050,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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user