vauth: Removed the need for a separate GSS-API based SPN function

This commit is contained in:
Steve Holme 2016-04-03 20:26:03 +01:00
parent e655ae0c80
commit 9feb2676a4
8 changed files with 37 additions and 39 deletions

View file

@ -48,13 +48,11 @@ struct negotiatedata;
/* This is used to build a SPN string */
#if !defined(USE_WINDOWS_SSPI)
char *Curl_auth_build_spn(const char *service, const char *instance);
char *Curl_auth_build_spn(const char *service, const char *host,
const char *realm);
#else
TCHAR *Curl_auth_build_spn(const char *service, const char *instance);
#endif
#if defined(HAVE_GSSAPI)
char *Curl_auth_build_gssapi_spn(const char *service, const char *instance);
TCHAR *Curl_auth_build_spn(const char *service, const char *host,
const char *realm);
#endif
/* This is used to generate a base64 encoded PLAIN cleartext message */