mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-01 20:49:35 -05: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
1 changed files with 5 additions and 1 deletions
|
|
@ -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 a new issue