sasl_sspi: Renamed GSSAPI mutual authentication parameter
...From "mutual" to "mutual_auth" which better describes what it is.
This commit is contained in:
parent
f6e15d25a3
commit
437b9ba46f
@ -283,9 +283,10 @@ CURLcode Curl_sasl_create_digest_md5_message(struct SessionHandle *data,
|
|||||||
* userp [in] - The user name.
|
* userp [in] - The user name.
|
||||||
* passdwp [in] - The user's password.
|
* passdwp [in] - The user's password.
|
||||||
* service [in] - The service type such as www, smtp, pop or imap.
|
* service [in] - The service type such as www, smtp, pop or imap.
|
||||||
* mutual [in] - Flag specifing whether or not mutual authentication is
|
* mutual_auth [in] - Flag specifing whether or not mutual authentication
|
||||||
* enabled.
|
* is enabled.
|
||||||
* chlg64 [in] - Pointer to the optional base64 encoded challenge message.
|
* chlg64 [in] - Pointer to the optional base64 encoded challenge
|
||||||
|
* message.
|
||||||
* krb5 [in/out] - The gssapi data struct being used and modified.
|
* krb5 [in/out] - The gssapi data struct being used and modified.
|
||||||
* outptr [in/out] - The address where a pointer to newly allocated memory
|
* outptr [in/out] - The address where a pointer to newly allocated memory
|
||||||
* holding the result will be stored upon completion.
|
* holding the result will be stored upon completion.
|
||||||
@ -297,7 +298,7 @@ CURLcode Curl_sasl_create_gssapi_user_message(struct SessionHandle *data,
|
|||||||
const char *userp,
|
const char *userp,
|
||||||
const char *passwdp,
|
const char *passwdp,
|
||||||
const char *service,
|
const char *service,
|
||||||
const bool mutual,
|
const bool mutual_auth,
|
||||||
const char *chlg64,
|
const char *chlg64,
|
||||||
struct kerberos5data *krb5,
|
struct kerberos5data *krb5,
|
||||||
char **outptr, size_t *outlen)
|
char **outptr, size_t *outlen)
|
||||||
@ -407,7 +408,7 @@ CURLcode Curl_sasl_create_gssapi_user_message(struct SessionHandle *data,
|
|||||||
status = s_pSecFn->InitializeSecurityContext(krb5->credentials,
|
status = s_pSecFn->InitializeSecurityContext(krb5->credentials,
|
||||||
chlg ? krb5->context : NULL,
|
chlg ? krb5->context : NULL,
|
||||||
krb5->spn,
|
krb5->spn,
|
||||||
(mutual ?
|
(mutual_auth ?
|
||||||
ISC_REQ_MUTUAL_AUTH : 0),
|
ISC_REQ_MUTUAL_AUTH : 0),
|
||||||
0, SECURITY_NATIVE_DREP,
|
0, SECURITY_NATIVE_DREP,
|
||||||
chlg ? &chlg_desc : NULL, 0,
|
chlg ? &chlg_desc : NULL, 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user