From cbc52ff34143c50374d3f8df57035497543582ff Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Wed, 6 Apr 2016 00:21:07 +0100 Subject: [PATCH] vauth: Corrected a number of typos in comments Reported-by: Michael Osipov --- lib/vauth/digest.c | 2 +- lib/vauth/digest_sspi.c | 2 +- lib/vauth/krb5_gssapi.c | 4 ++-- lib/vauth/krb5_sspi.c | 4 ++-- lib/vauth/spnego_gssapi.c | 2 +- lib/vauth/spnego_sspi.c | 2 +- lib/vauth/vauth.c | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/vauth/digest.c b/lib/vauth/digest.c index f6ff5a088..56db592c1 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 c7ba72edd..364fb9b42 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 29252b038..975675b5d 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 0bc3a16f6..c835ae141 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 305476072..4821fc7be 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 3530ef320..905132fd2 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 c74005fc2..db44d2913 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. *