]> granicus.if.org Git - curl/commitdiff
vauth: Fix typo
authorDaniel Gustafsson <daniel@yesql.se>
Sat, 14 Apr 2018 19:52:00 +0000 (21:52 +0200)
committerJay Satiro <raysatiro@yahoo.com>
Sun, 15 Apr 2018 07:25:48 +0000 (03:25 -0400)
Address various spellings of "credentials".

Closes https://github.com/curl/curl/pull/2496

lib/vauth/krb5_sspi.c
lib/vauth/spnego_sspi.c
lib/vauth/vauth.c

index 196b157d670ea018c2daf1115f38087e8aad70f9..9afb971fcde593f65b2f9c4c92f67ddca2fce459 100644 (file)
@@ -135,7 +135,7 @@ CURLcode Curl_auth_create_gssapi_user_message(struct Curl_easy *data,
   }
 
   if(!krb5->credentials) {
-    /* Do we have credientials to use or are we using single sign-on? */
+    /* Do we have credentials to use or are we using single sign-on? */
     if(userp && *userp) {
       /* Populate our identity structure */
       result = Curl_create_sspi_identity(userp, passwdp, &krb5->identity);
index c8ecacff640b7dfaafe56b1afac2d04301168095..1fe19e3f976fd79853bfbcbcebf59cedcebefc0f 100644 (file)
@@ -138,7 +138,7 @@ CURLcode Curl_auth_decode_spnego_message(struct Curl_easy *data,
  }
 
   if(!nego->credentials) {
-    /* Do we have credientials to use or are we using single sign-on? */
+    /* Do we have credentials to use or are we using single sign-on? */
     if(user && *user) {
       /* Populate our identity structure */
       result = Curl_create_sspi_identity(user, password, &nego->identity);
index b995f34e2775bd3bd93759907ac93b054d96d41b..502d443ab7aa80fb0254509dfdf6d7c5956d8811 100644 (file)
@@ -115,8 +115,8 @@ TCHAR *Curl_auth_build_spn(const char *service, const char *host,
 * User@Domain (User Principal Name)
 *
 * Note: The user name may be empty when using a GSS-API library or Windows SSPI
-* as the user and domain are either obtained from the credientals cache when
-* using GSS-API or via the currently logged in user's credientals when using
+* as the user and domain are either obtained from the credentials cache when
+* using GSS-API or via the currently logged in user's credentials when using
 * Windows SSPI.
 *
 * Parameters:
@@ -138,7 +138,7 @@ bool Curl_auth_user_contains_domain(const char *user)
   }
 #if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
   else
-    /* User and domain are obtained from the GSS-API credientials cache or the
+    /* User and domain are obtained from the GSS-API credentials cache or the
        currently logged in user from Windows */
     valid = TRUE;
 #endif