cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: [PATCH] Added AUTH NTLM for SMTP

From: Steve Holme <steve_holme_at_hotmail.com>
Date: Thu, 11 Aug 2011 16:05:36 +0100

Hi Yang,

On Wed, 10 Aug 2011, Steve Holme wrote

> As such, can you discard my last patch with the curl_ntlm move in? I
> will patch this up after this patch is pushed ;-)

Please find attached an updated patch as I have pulled down the latest code
this morning and re-applied the move of the ntlm code to curl_ntlm.

I also found a couple of bugs with what I had written in yesterday
afternoon's patch as well:

* http_ntlm.h was being included curl_ntlm.c.
* Curl_ntlm_decode_type2_message() was defined as returning a CURLcode
object but would return a combination of CURLcode, CURLntlm and bool :(
* The userp and passwdp parameters in Curl_ntlm_create_type1_message() and
Curl_ntlm_create_type3_message() where not checked for NULL as had been the
case in the original Curl_output_ntlm() function.

Kind Regards

Steve

Received on 2011-08-11