]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Wrap kerberos test headers per Squid requirement. change internal name
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 12 Sep 2009 08:16:48 +0000 (20:16 +1200)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 12 Sep 2009 08:16:48 +0000 (20:16 +1200)
helpers/negotiate_auth/kerberos/negotiate_kerberos_auth_test.cc

index 804115635792d4accb9900d0f5c9763afd890d10..bc74bc6cfc6c3ba2015d6c66ab0828da27ce1003 100644 (file)
 #include "config.h"
 
 #if HAVE_GSSAPI
+
+#if HAVE_STRING_H
 #include <string.h>
+#endif
+#if HAVE_STDIO_H
 #include <stdio.h>
+#endif
+#if HAVE_STDLIB_H
 #include <stdlib.h>
+#endif
+#if HAVE_NETDB_H
 #include <netdb.h>
+#endif
+#if HAVE_UNISTD_H
 #include <unistd.h>
+#endif
+#if HAVE_TIME_H
 #include <time.h>
+#endif
+#if HAVE_SYS_TIME_H
 #include <sys/time.h>
+#endif
+#if HAVE_ERRNO_H
 #include <errno.h>
+#endif
 
+#include "base64.h"
 #include "util.h"
 
 #if HAVE_HEIMDAL_KERBEROS
@@ -60,8 +78,6 @@
 #endif /* HAVE_GSSAPI_GSSAPI_GENERIC_H */
 #endif /* HAVE_HEIMDAL_KERBEROS */
 
-#include "base64.h"
-
 static const char *LogTime(void);
 
 int check_gss_err(OM_uint32 major_status, OM_uint32 minor_status,
@@ -69,7 +85,7 @@ int check_gss_err(OM_uint32 major_status, OM_uint32 minor_status,
 
 const char *squid_kerb_proxy_auth(char *proxy);
 
-#define PROGRAM "squid_kerb_auth_test"
+#define PROGRAM "negotiate_kerberos_auth_test"
 
 static const char *
 LogTime()