ntlm: Corrected some typos in function descriptions

This commit is contained in:
Steve Holme 2016-03-12 11:56:10 +00:00
Родитель 06ccaa0c68
Коммит dbb90e7e9f
3 изменённых файлов: 16 добавлений и 16 удалений

Просмотреть файл

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -150,7 +150,7 @@ static void ntlm_print_hex(FILE *handle, const char *buf, size_t len)
/*
* ntlm_decode_type2_target()
*
* This is used to decode the "target info" in the ntlm type-2 message
* This is used to decode the "target info" in the NTLM type-2 message
* received.
*
* Parameters:
@ -158,7 +158,7 @@ static void ntlm_print_hex(FILE *handle, const char *buf, size_t len)
* data [in] - The session handle.
* buffer [in] - The decoded type-2 message.
* size [in] - The input buffer size, at least 32 bytes.
* ntlm [in/out] - The ntlm data struct being used and modified.
* ntlm [in/out] - The NTLM data struct being used and modified.
*
* Returns CURLE_OK on success.
*/
@ -222,7 +222,7 @@ static CURLcode ntlm_decode_type2_target(struct SessionHandle *data,
*
* data [in] - The session handle.
* type2msg [in] - The base64 encoded type-2 message.
* ntlm [in/out] - The ntlm data struct being used and modified.
* ntlm [in/out] - The NTLM data struct being used and modified.
*
* Returns CURLE_OK on success.
*/
@ -332,7 +332,7 @@ static void unicodecpy(unsigned char *dest, const char *src, size_t length)
*
* userp [in] - The user name in the format User or Domain\User.
* passdwp [in] - The user's password.
* ntlm [in/out] - The ntlm data struct being used and modified.
* ntlm [in/out] - The NTLM data struct being used and modified.
* 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.
@ -452,7 +452,7 @@ CURLcode Curl_sasl_create_ntlm_type1_message(const char *userp,
* data [in] - The session handle.
* userp [in] - The user name in the format User or Domain\User.
* passdwp [in] - The user's password.
* ntlm [in/out] - The ntlm data struct being used and modified.
* ntlm [in/out] - The NTLM data struct being used and modified.
* 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.

Просмотреть файл

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 2012 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 2012 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@ -1143,11 +1143,11 @@ void Curl_sasl_digest_cleanup(struct digestdata *digest)
/*
* Curl_sasl_ntlm_cleanup()
*
* This is used to clean up the ntlm specific data.
* This is used to clean up the NTLM specific data.
*
* Parameters:
*
* ntlm [in/out] - The ntlm data struct being cleaned up.
* ntlm [in/out] - The NTLM data struct being cleaned up.
*
*/
void Curl_sasl_ntlm_cleanup(struct ntlmdata *ntlm)
@ -1230,7 +1230,7 @@ void Curl_sasl_cleanup(struct connectdata *conn, unsigned int authused)
#endif
#if defined(USE_NTLM)
/* Cleanup the ntlm structure */
/* Cleanup the NTLM structure */
if(authused == SASL_MECH_NTLM) {
Curl_sasl_ntlm_cleanup(&conn->ntlm);
}

Просмотреть файл

@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
* Copyright (C) 2014 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 2014 - 2016 Daniel Stenberg, <daniel@haxx.se>, et al.
* Copyright (C) 2014 - 2015, Steve Holme, <steve_holme@hotmail.com>.
*
* This software is licensed as described in the file COPYING, which
@ -583,7 +583,7 @@ void Curl_sasl_digest_cleanup(struct digestdata *digest)
*
* userp [in] - The user name in the format User or Domain\User.
* passdwp [in] - The user's password.
* ntlm [in/out] - The ntlm data struct being used and modified.
* ntlm [in/out] - The NTLM data struct being used and modified.
* 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.
@ -694,7 +694,7 @@ CURLcode Curl_sasl_create_ntlm_type1_message(const char *userp,
*
* data [in] - The session handle.
* type2msg [in] - The base64 encoded type-2 message.
* ntlm [in/out] - The ntlm data struct being used and modified.
* ntlm [in/out] - The NTLM data struct being used and modified.
*
* Returns CURLE_OK on success.
*/
@ -742,7 +742,7 @@ CURLcode Curl_sasl_decode_ntlm_type2_message(struct SessionHandle *data,
* data [in] - The session handle.
* userp [in] - The user name in the format User or Domain\User.
* passdwp [in] - The user's password.
* ntlm [in/out] - The ntlm data struct being used and modified.
* ntlm [in/out] - The NTLM data struct being used and modified.
* 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.
@ -811,11 +811,11 @@ CURLcode Curl_sasl_create_ntlm_type3_message(struct SessionHandle *data,
/*
* Curl_sasl_ntlm_cleanup()
*
* This is used to clean up the ntlm specific data.
* This is used to clean up the NTLM specific data.
*
* Parameters:
*
* ntlm [in/out] - The ntlm data struct being cleaned up.
* ntlm [in/out] - The NTLM data struct being cleaned up.
*
*/
void Curl_sasl_ntlm_cleanup(struct ntlmdata *ntlm)