projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4128f9
)
Security.c: Fix headers guard to match the rest of the code.
author
Julien Chaffraix
<julien.chaffraix@gmail.com>
Fri, 10 Sep 2010 06:52:49 +0000
(23:52 -0700)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 22 Sep 2010 21:34:35 +0000
(23:34 +0200)
lib/security.c
patch
|
blob
|
history
diff --git
a/lib/security.c
b/lib/security.c
index
eceb013
..
4f5393d
100644
(file)
--- 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[] = {
-#if
def HAVE_GSSAPI
+#if
defined(HAVE_GSSAPI)
&Curl_krb5_client_mech,
#endif
-#if
def 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 */