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 23:26:37 +0100

Hi Yang,

Further to my last email...

> > Option 2 is easier to achieve right now, given that part of the
> > existing code would not move.
>
> Arrgghh - That means I've got to rework my patch :(

I have now implemented option 2 as you suggested. You will note, that the
Curl_ntlm_create_typeX_message() functions return the size of the message as
an out parameter whilst the function return is used to return a CURLcode
result. My previous versions of the functions had wrongly assumed that
CURLcode error codes were negative and could be combined with a positive
size_t :(

I have also added a description of each function to curl_ntlm.c if that is
of any use.

Comments welcome as always ;-)

Kind Regards

Steve

Received on 2011-08-12