ITS#2016 possibly better macro test for this fix

This commit is contained in:
Howard Chu 2002-08-10 00:32:25 +00:00
parent 66d9bf404b
commit 4c69827b15

View file

@ -23,14 +23,6 @@
#include <ac/string.h>
#include <ac/unistd.h>
/* 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 */
#ifdef SLAPD_SPASSWD
# ifdef HAVE_SASL_SASL_H
# include <sasl/sasl.h>
@ -44,6 +36,14 @@
# include <ac/krb5.h>
#endif
/* 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(DES_ENCRYPT)
# include <openssl/des.h>
#endif /* SLAPD_LMHASH */
#include <ac/param.h>
#ifdef SLAPD_CRYPT