aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Chaffraix <julien.chaffraix@gmail.com>2010-09-09 23:52:49 -0700
committerDaniel Stenberg <daniel@haxx.se>2010-09-22 23:34:35 +0200
commit3f64d05d344ede0ec813413234bf9d7af0ce4ba4 (patch)
tree310d7fc68c4b87d7d63ab992a645e88fbab7fad0
parente4128f90ba03cbad17d2696f6a38272ee504e3ab (diff)
Security.c: Fix headers guard to match the rest of the code.
-rw-r--r--lib/security.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/security.c b/lib/security.c
index eceb013b5..4f5393d49 100644
--- a/lib/security.c
+++ b/lib/security.c
@@ -92,10 +92,10 @@ name_to_level(const char *name)
}
static const struct Curl_sec_client_mech * const mechs[] = {
-#ifdef HAVE_GSSAPI
+#if defined(HAVE_GSSAPI)
&Curl_krb5_client_mech,
#endif
-#ifdef HAVE_KRB4
+#if defined(HAVE_KRB4)
&Curl_krb4_client_mech,
#endif
NULL
@@ -496,5 +496,6 @@ Curl_sec_end(struct connectdata *conn)
conn->mech=NULL;
}
-#endif /* HAVE_KRB4 */
+#endif /* HAVE_KRB4 || HAVE_GSSAPI */
+
#endif /* CURL_DISABLE_FTP */