1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

Security.c: Fix headers guard to match the rest of the code.

This commit is contained in:
Julien Chaffraix 2010-09-09 23:52:49 -07:00 committed by Daniel Stenberg
parent e4128f90ba
commit 3f64d05d34

View File

@ -92,10 +92,10 @@ name_to_level(const char *name)
} }
static const struct Curl_sec_client_mech * const mechs[] = { static const struct Curl_sec_client_mech * const mechs[] = {
#ifdef HAVE_GSSAPI #if defined(HAVE_GSSAPI)
&Curl_krb5_client_mech, &Curl_krb5_client_mech,
#endif #endif
#ifdef HAVE_KRB4 #if defined(HAVE_KRB4)
&Curl_krb4_client_mech, &Curl_krb4_client_mech,
#endif #endif
NULL NULL
@ -496,5 +496,6 @@ Curl_sec_end(struct connectdata *conn)
conn->mech=NULL; conn->mech=NULL;
} }
#endif /* HAVE_KRB4 */ #endif /* HAVE_KRB4 || HAVE_GSSAPI */
#endif /* CURL_DISABLE_FTP */ #endif /* CURL_DISABLE_FTP */