aboutsummaryrefslogtreecommitdiff
path: root/lib/curl_sasl.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2015-09-12 11:48:24 +0100
committerSteve Holme <steve_holme@hotmail.com>2016-03-25 09:12:01 +0000
commit685fee3828b0b22f5a3ca9c8debd92dfecec751f (patch)
treea8c25105f04a74c4f8fb267bddb2f321f995c28b /lib/curl_sasl.c
parent709991d548225f4dd512687ae7bc8af8a0f8f2c6 (diff)
vauth: Moved Curl_sasl_build_spn() to create the initial vauth source files
Diffstat (limited to 'lib/curl_sasl.c')
-rw-r--r--lib/curl_sasl.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/lib/curl_sasl.c b/lib/curl_sasl.c
index 945d75232..0a6e5e924 100644
--- a/lib/curl_sasl.c
+++ b/lib/curl_sasl.c
@@ -36,6 +36,7 @@
#include "curl_base64.h"
#include "curl_md5.h"
+#include "vauth/vauth.h"
#include "vtls/vtls.h"
#include "curl_hmac.h"
#include "curl_sasl.h"
@@ -260,26 +261,6 @@ static CURLcode sasl_digest_get_qop_values(const char *options, int *value)
}
#endif /* !CURL_DISABLE_CRYPTO_AUTH && !USE_WINDOWS_SSPI */
-#if !defined(USE_WINDOWS_SSPI)
-/*
- * Curl_sasl_build_spn()
- *
- * This is used to build a SPN string in the format service/instance.
- *
- * Parameters:
- *
- * service [in] - The service type such as www, smtp, pop or imap.
- * instance [in] - The host name or realm.
- *
- * Returns a pointer to the newly allocated SPN.
- */
-char *Curl_sasl_build_spn(const char *service, const char *instance)
-{
- /* Generate and return our SPN */
- return aprintf("%s/%s", service, instance);
-}
-#endif
-
/*
* sasl_create_plain_message()
*