Loading lib/curl_ntlm_msgs.c +6 −6 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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: Loading @@ -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. */ Loading Loading @@ -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. */ Loading Loading @@ -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. Loading Loading @@ -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. Loading lib/curl_sasl.c +4 −4 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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) Loading Loading @@ -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); } Loading lib/curl_sasl_sspi.c +6 −6 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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. Loading Loading @@ -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. */ Loading Loading @@ -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. Loading Loading @@ -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) Loading Loading
lib/curl_ntlm_msgs.c +6 −6 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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: Loading @@ -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. */ Loading Loading @@ -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. */ Loading Loading @@ -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. Loading Loading @@ -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. Loading
lib/curl_sasl.c +4 −4 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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) Loading Loading @@ -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); } Loading
lib/curl_sasl_sspi.c +6 −6 Original line number Diff line number Diff line Loading @@ -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 Loading Loading @@ -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. Loading Loading @@ -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. */ Loading Loading @@ -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. Loading Loading @@ -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) Loading