summaryrefslogtreecommitdiff
path: root/lib/vauth/vauth.c
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2016-03-13 11:28:42 +0000
committerSteve Holme <steve_holme@hotmail.com>2016-03-25 17:40:12 +0000
commit58a7bc96eca33c4b6483ed25d0b1547ce8ec0d89 (patch)
tree838bce407fb6d98d8af66448f86b04c414eeb81b /lib/vauth/vauth.c
parent7d2a5a05f64c51107b962ff19f85052ab251323a (diff)
downloadgnurl-58a7bc96eca33c4b6483ed25d0b1547ce8ec0d89.tar.gz
gnurl-58a7bc96eca33c4b6483ed25d0b1547ce8ec0d89.tar.bz2
gnurl-58a7bc96eca33c4b6483ed25d0b1547ce8ec0d89.zip
vauth: Refactored function names after move to new vauth directory
Renamed all the SASL functions that moved to the new vauth directory to include the correct module name.
Diffstat (limited to 'lib/vauth/vauth.c')
-rw-r--r--lib/vauth/vauth.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/vauth/vauth.c b/lib/vauth/vauth.c
index b21caeafd..7ed60b11d 100644
--- a/lib/vauth/vauth.c
+++ b/lib/vauth/vauth.c
@@ -33,7 +33,7 @@
#include "memdebug.h"
/*
- * Curl_sasl_build_spn()
+ * Curl_auth_build_spn()
*
* This is used to build a SPN string in the format service/instance.
*
@@ -45,13 +45,13 @@
* Returns a pointer to the newly allocated SPN.
*/
#if !defined(USE_WINDOWS_SSPI)
-char *Curl_sasl_build_spn(const char *service, const char *instance)
+char *Curl_auth_build_spn(const char *service, const char *instance)
{
/* Generate and return our SPN */
return aprintf("%s/%s", service, instance);
}
#else
-TCHAR *Curl_sasl_build_spn(const char *service, const char *instance)
+TCHAR *Curl_auth_build_spn(const char *service, const char *instance)
{
char *utf8_spn = NULL;
TCHAR *tchar_spn = NULL;
@@ -87,7 +87,7 @@ TCHAR *Curl_sasl_build_spn(const char *service, const char *instance)
#if defined(HAVE_GSSAPI)
/*
- * Curl_sasl_build_gssapi_spn()
+ * Curl_auth_build_gssapi_spn()
*
* This is used to build a SPN string in the format service@instance.
*
@@ -98,7 +98,7 @@ TCHAR *Curl_sasl_build_spn(const char *service, const char *instance)
*
* Returns a pointer to the newly allocated SPN.
*/
-char *Curl_sasl_build_gssapi_spn(const char *service, const char *instance)
+char *Curl_auth_build_gssapi_spn(const char *service, const char *instance)
{
/* Generate and return our SPN */
return aprintf("%s@%s", service, instance);