mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
vauth: Fix typo
Address various spellings of "credentials". Closes https://github.com/curl/curl/pull/2496
This commit is contained in:
parent
631f64cf46
commit
36f0f47887
@ -135,7 +135,7 @@ CURLcode Curl_auth_create_gssapi_user_message(struct Curl_easy *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(!krb5->credentials) {
|
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) {
|
if(userp && *userp) {
|
||||||
/* Populate our identity structure */
|
/* Populate our identity structure */
|
||||||
result = Curl_create_sspi_identity(userp, passwdp, &krb5->identity);
|
result = Curl_create_sspi_identity(userp, passwdp, &krb5->identity);
|
||||||
|
@ -138,7 +138,7 @@ CURLcode Curl_auth_decode_spnego_message(struct Curl_easy *data,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(!nego->credentials) {
|
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) {
|
if(user && *user) {
|
||||||
/* Populate our identity structure */
|
/* Populate our identity structure */
|
||||||
result = Curl_create_sspi_identity(user, password, &nego->identity);
|
result = Curl_create_sspi_identity(user, password, &nego->identity);
|
||||||
|
@ -115,8 +115,8 @@ TCHAR *Curl_auth_build_spn(const char *service, const char *host,
|
|||||||
* User@Domain (User Principal Name)
|
* User@Domain (User Principal Name)
|
||||||
*
|
*
|
||||||
* Note: The user name may be empty when using a GSS-API library or Windows SSPI
|
* 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
|
* as the user and domain are either obtained from the credentials cache when
|
||||||
* using GSS-API or via the currently logged in user's credientals when using
|
* using GSS-API or via the currently logged in user's credentials when using
|
||||||
* Windows SSPI.
|
* Windows SSPI.
|
||||||
*
|
*
|
||||||
* Parameters:
|
* Parameters:
|
||||||
@ -138,7 +138,7 @@ bool Curl_auth_user_contains_domain(const char *user)
|
|||||||
}
|
}
|
||||||
#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
|
#if defined(HAVE_GSSAPI) || defined(USE_WINDOWS_SSPI)
|
||||||
else
|
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 */
|
currently logged in user from Windows */
|
||||||
valid = TRUE;
|
valid = TRUE;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user