From: Steve Holme Date: Tue, 5 Apr 2016 23:21:07 +0000 (+0100) Subject: vauth: Corrected a number of typos in comments X-Git-Tag: curl-7_49_0~184 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cbc52ff34143c50374d3f8df57035497543582ff;p=thirdparty%2Fcurl.git vauth: Corrected a number of typos in comments Reported-by: Michael Osipov --- diff --git a/lib/vauth/digest.c b/lib/vauth/digest.c index f6ff5a088d..56db592c16 100644 --- a/lib/vauth/digest.c +++ b/lib/vauth/digest.c @@ -317,7 +317,7 @@ static CURLcode auth_decode_digest_md5_message(const char *chlg64, * chlg64 [in] - The base64 encoded challenge message. * userp [in] - The user name. * 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 http, smtp, pop or imap. * outptr [in/out] - The address where a pointer to newly allocated memory * holding the result will be stored upon completion. * outlen [out] - The length of the output message. diff --git a/lib/vauth/digest_sspi.c b/lib/vauth/digest_sspi.c index c7ba72edda..364fb9b42a 100644 --- a/lib/vauth/digest_sspi.c +++ b/lib/vauth/digest_sspi.c @@ -55,7 +55,7 @@ * chlg64 [in] - The base64 encoded challenge message. * userp [in] - The user name in the format User or Domain\User. * 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 http, smtp, pop or imap. * outptr [in/out] - The address where a pointer to newly allocated memory * holding the result will be stored upon completion. * outlen [out] - The length of the output message. diff --git a/lib/vauth/krb5_gssapi.c b/lib/vauth/krb5_gssapi.c index 29252b038b..975675b5d1 100644 --- a/lib/vauth/krb5_gssapi.c +++ b/lib/vauth/krb5_gssapi.c @@ -52,7 +52,7 @@ * data [in] - The session handle. * userp [in] - The user name. * 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 http, smtp, pop or imap. * host [in[ - The host name. * mutual_auth [in] - Flag specifing whether or not mutual authentication * is enabled. @@ -315,7 +315,7 @@ CURLcode Curl_auth_create_gssapi_security_message(struct SessionHandle *data, /* Populate the message with the security layer, client supported receive message size and authorization identity including the 0x00 based - terminator. Note: Dispite RFC4752 Section 3.1 stating "The authorization + terminator. Note: Despite RFC4752 Section 3.1 stating "The authorization identity is not terminated with the zero-valued (%x00) octet." it seems necessary to include it. */ outdata = htonl(max_size) | sec_layer; diff --git a/lib/vauth/krb5_sspi.c b/lib/vauth/krb5_sspi.c index 0bc3a16f69..c835ae1419 100644 --- a/lib/vauth/krb5_sspi.c +++ b/lib/vauth/krb5_sspi.c @@ -50,7 +50,7 @@ * data [in] - The session handle. * userp [in] - The user name in the format User or Domain\User. * 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 http, smtp, pop or imap. * host [in] - The host name. * mutual_auth [in] - Flag specifing whether or not mutual authentication * is enabled. @@ -381,7 +381,7 @@ CURLcode Curl_auth_create_gssapi_security_message(struct SessionHandle *data, /* Populate the message with the security layer, client supported receive message size and authorization identity including the 0x00 based - terminator. Note: Dispite RFC4752 Section 3.1 stating "The authorization + terminator. Note: Despite RFC4752 Section 3.1 stating "The authorization identity is not terminated with the zero-valued (%x00) octet." it seems necessary to include it. */ outdata = htonl(max_size) | sec_layer; diff --git a/lib/vauth/spnego_gssapi.c b/lib/vauth/spnego_gssapi.c index 305476072b..4821fc7bed 100644 --- a/lib/vauth/spnego_gssapi.c +++ b/lib/vauth/spnego_gssapi.c @@ -51,7 +51,7 @@ * data [in] - The session handle. * userp [in] - The user name in the format User or Domain\User. * 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 http, smtp, pop or imap. * host [in] - The host name. * chlg64 [in] - The optional base64 encoded challenge message. * nego [in/out] - The Negotiate data struct being used and modified. diff --git a/lib/vauth/spnego_sspi.c b/lib/vauth/spnego_sspi.c index 3530ef3203..905132fd29 100644 --- a/lib/vauth/spnego_sspi.c +++ b/lib/vauth/spnego_sspi.c @@ -50,7 +50,7 @@ * data [in] - The session handle. * userp [in] - The user name in the format User or Domain\User. * 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 http, smtp, pop or imap. * host [in] - The host name. * chlg64 [in] - The optional base64 encoded challenge message. * nego [in/out] - The Negotiate data struct being used and modified. diff --git a/lib/vauth/vauth.c b/lib/vauth/vauth.c index c74005fc22..db44d29135 100644 --- a/lib/vauth/vauth.c +++ b/lib/vauth/vauth.c @@ -43,7 +43,7 @@ * * Parameters: * - * service [in] - The service type such as www, smtp, pop or imap. + * service [in] - The service type such as http, smtp, pop or imap. * host [in] - The host name. * realm [in] - The realm. *