aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_sasl_sspi.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-11-14 21:16:08 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-11-14 22:11:48 +0000
commit18e53fa91ac56ca55c1dcbc5bbff8e1157304623 (patch)
treec26fc5ce6fc284d581f4b613d43593d13c611e6d /lib/curl_sasl_sspi.c
parent8c58dea8997e5d9133a006d11f9c5d97a2c5c2f5 (diff)
sasl: Moved Curl_sasl_gssapi_cleanup() definition into header file
Rather than define the function as extern in the source files that use it, moved the function declaration into the SASL header file just like the Digest and NTLM clean-up functions. Additionally, added a function description comment block.
Diffstat (limited to 'lib/curl_sasl_sspi.c')
-rw-r--r--lib/curl_sasl_sspi.c14
1 files changed, 10 insertions, 4 deletions
diff --git a/lib/curl_sasl_sspi.c b/lib/curl_sasl_sspi.c
index ffc569c09..b07623fb9 100644
--- a/lib/curl_sasl_sspi.c
+++ b/lib/curl_sasl_sspi.c
@@ -47,10 +47,6 @@
/* The last #include file should be: */
#include "memdebug.h"
-#if defined(USE_KRB5)
-void Curl_sasl_gssapi_cleanup(struct kerberos5data *krb5);
-#endif
-
/*
* Curl_sasl_build_spn()
*
@@ -1010,6 +1006,16 @@ CURLcode Curl_sasl_create_gssapi_security_message(struct SessionHandle *data,
return result;
}
+/*
+* Curl_sasl_gssapi_cleanup()
+*
+* This is used to clean up the gssapi specific data.
+*
+* Parameters:
+*
+* krb5 [in/out] - The kerberos 5 data struct being cleaned up.
+*
+*/
void Curl_sasl_gssapi_cleanup(struct kerberos5data *krb5)
{
/* Free our security context */