1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

curl_sasl: Minor code indent fixes

This commit is contained in:
Steve Holme 2016-03-15 06:47:13 +00:00
parent 42a93d4364
commit 3ccc2621a1

View File

@ -275,19 +275,19 @@ CURLcode Curl_sasl_create_digest_md5_message(struct SessionHandle *data,
} }
/* /*
* Curl_override_sspi_http_realm() * Curl_override_sspi_http_realm()
* *
* This is used to populate the domain in a SSPI identity structure * This is used to populate the domain in a SSPI identity structure
* The realm is extracted from the challenge message and used as the * The realm is extracted from the challenge message and used as the
* domain if it is not already explicitly set. * domain if it is not already explicitly set.
* *
* Parameters: * Parameters:
* *
* chlg [in] - The challenge message. * chlg [in] - The challenge message.
* identity [in/out] - The identity structure. * identity [in/out] - The identity structure.
* *
* Returns CURLE_OK on success. * Returns CURLE_OK on success.
*/ */
CURLcode Curl_override_sspi_http_realm(const char *chlg, CURLcode Curl_override_sspi_http_realm(const char *chlg,
SEC_WINNT_AUTH_IDENTITY *identity) SEC_WINNT_AUTH_IDENTITY *identity)
{ {
@ -574,22 +574,22 @@ void Curl_sasl_digest_cleanup(struct digestdata *digest)
#if defined USE_NTLM #if defined USE_NTLM
/* /*
* Curl_sasl_create_ntlm_type1_message() * Curl_sasl_create_ntlm_type1_message()
* *
* This is used to generate an already encoded NTLM type-1 message ready for * This is used to generate an already encoded NTLM type-1 message ready for
* sending to the recipient. * sending to the recipient.
* *
* Parameters: * Parameters:
* *
* userp [in] - The user name in the format User or Domain\User. * userp [in] - The user name in the format User or Domain\User.
* passdwp [in] - The user's password. * 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 * 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.
* outlen [out] - The length of the output message. * outlen [out] - The length of the output message.
* *
* Returns CURLE_OK on success. * Returns CURLE_OK on success.
*/ */
CURLcode Curl_sasl_create_ntlm_type1_message(const char *userp, CURLcode Curl_sasl_create_ntlm_type1_message(const char *userp,
const char *passwdp, const char *passwdp,
struct ntlmdata *ntlm, struct ntlmdata *ntlm,
@ -686,18 +686,18 @@ CURLcode Curl_sasl_create_ntlm_type1_message(const char *userp,
} }
/* /*
* Curl_sasl_decode_ntlm_type2_message() * Curl_sasl_decode_ntlm_type2_message()
* *
* This is used to decode an already encoded NTLM type-2 message. * This is used to decode an already encoded NTLM type-2 message.
* *
* Parameters: * Parameters:
* *
* data [in] - The session handle. * data [in] - The session handle.
* type2msg [in] - The base64 encoded type-2 message. * 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. * Returns CURLE_OK on success.
*/ */
CURLcode Curl_sasl_decode_ntlm_type2_message(struct SessionHandle *data, CURLcode Curl_sasl_decode_ntlm_type2_message(struct SessionHandle *data,
const char *type2msg, const char *type2msg,
struct ntlmdata *ntlm) struct ntlmdata *ntlm)
@ -732,23 +732,23 @@ CURLcode Curl_sasl_decode_ntlm_type2_message(struct SessionHandle *data,
} }
/* /*
* Curl_sasl_create_ntlm_type3_message() * Curl_sasl_create_ntlm_type3_message()
* *
* This is used to generate an already encoded NTLM type-3 message ready for * This is used to generate an already encoded NTLM type-3 message ready for
* sending to the recipient. * sending to the recipient.
* *
* Parameters: * Parameters:
* *
* data [in] - The session handle. * data [in] - The session handle.
* userp [in] - The user name in the format User or Domain\User. * userp [in] - The user name in the format User or Domain\User.
* passdwp [in] - The user's password. * 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 * 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.
* outlen [out] - The length of the output message. * outlen [out] - The length of the output message.
* *
* Returns CURLE_OK on success. * Returns CURLE_OK on success.
*/ */
CURLcode Curl_sasl_create_ntlm_type3_message(struct SessionHandle *data, CURLcode Curl_sasl_create_ntlm_type3_message(struct SessionHandle *data,
const char *userp, const char *userp,
const char *passwdp, const char *passwdp,