mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#2016 Don't include <openssl/des.h> if we're also including <krb.h>.
This commit is contained in:
parent
9acb78c708
commit
66d9bf404b
@ -23,7 +23,11 @@
|
||||
#include <ac/string.h>
|
||||
#include <ac/unistd.h>
|
||||
|
||||
#ifdef SLAPD_LMHASH
|
||||
/* KPASSWD/krb.h brings in a conflicting des.h so don't use both.
|
||||
* configure currently requires OpenSSL to enable LMHASH. Obviously
|
||||
* this requirement can be fulfilled by the KRB DES library as well.
|
||||
*/
|
||||
#if defined(SLAPD_LMHASH) && !defined(SLAPD_KPASSWD)
|
||||
# include <openssl/des.h>
|
||||
#endif /* SLAPD_LMHASH */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user