From 3e4a8cb800983ee276bbc118dcd5749fc852401a Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sat, 16 Aug 2008 03:27:07 +0000 Subject: Fix Use of conditional definition of USE_OPENSSL --- lib/http_negotiate.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'lib/http_negotiate.c') diff --git a/lib/http_negotiate.c b/lib/http_negotiate.c index 9644a751c..d47c9aecd 100644 --- a/lib/http_negotiate.c +++ b/lib/http_negotiate.c @@ -43,12 +43,16 @@ #include "memory.h" #ifdef HAVE_SPNEGO -# include -# if defined(USE_OPENSSL) && !defined(USE_YASSLEMUL) -# include -# else -# error "Can't compile SPNEGO support without OpenSSL." -# endif +# include +# ifdef USE_SSLEAY +# ifdef USE_OPENSSL +# include +# else +# include +# endif +# else +# error "Can't compile SPNEGO support without OpenSSL." +# endif #endif #define _MPRINTF_REPLACE /* use our functions only */ -- cgit v1.2.3