From dbb90e7e9f988534fc972d5789a666243b073949 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 12 Mar 2016 11:56:10 +0000 Subject: [PATCH] ntlm: Corrected some typos in function descriptions --- lib/curl_ntlm_msgs.c | 12 ++++++------ lib/curl_sasl.c | 8 ++++---- lib/curl_sasl_sspi.c | 12 ++++++------ 3 files changed, 16 insertions(+), 16 deletions(-) diff --git a/lib/curl_ntlm_msgs.c b/lib/curl_ntlm_msgs.c index 32c911681..bf1aaf376 100644 --- a/lib/curl_ntlm_msgs.c +++ b/lib/curl_ntlm_msgs.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2016, Daniel Stenberg, , 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. diff --git a/lib/curl_sasl.c b/lib/curl_sasl.c index ef6283c5a..fd446a542 100644 --- a/lib/curl_sasl.c +++ b/lib/curl_sasl.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2012 - 2015, Daniel Stenberg, , et al. + * Copyright (C) 2012 - 2016, Daniel Stenberg, , 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); } diff --git a/lib/curl_sasl_sspi.c b/lib/curl_sasl_sspi.c index 787eabfa3..5d0104014 100644 --- a/lib/curl_sasl_sspi.c +++ b/lib/curl_sasl_sspi.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 2014 - 2015, Daniel Stenberg, , et al. + * Copyright (C) 2014 - 2016 Daniel Stenberg, , et al. * Copyright (C) 2014 - 2015, Steve Holme, . * * 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)