cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: A strange problem with NTLM authentication, solved

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 3 Apr 2006 15:50:25 +0200 (CEST)

On Mon, 3 Apr 2006, Michele Bini wrote:

> I'm attaching a patch against curl 7.15.1; I tested it on linux/x86, windows
> and osx/ppc connecting to the following servers:

Thanks!

But what about this line:

+ ntlm->flags = *(unsigned long *)&buffer[20]; /* ENDIAN */

I couldn't find any code that takes care of this in an endian-specific way.
Isn't that a problem? I don't see how libcurl on PPC and x86 can possibly
treat that the same way...

> I think I didn't broke anything that previously worked, so please include
> this in curl.

I'll try it out soon and let you know what I think!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-04-03