ITS#2016 Don't include <openssl/des.h> if we're also including <krb.h>.

This commit is contained in:
Howard Chu 2002-08-10 00:22:52 +00:00
parent 9acb78c708
commit 66d9bf404b

View File

@ -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 */