Hi again:

I've attached a patch that will allow NTLM authentication when building using 
SecureTransport (Darwin) for SSL. The patch uses CommonCrypto, a cryptography 
library that ships with all versions of iOS and Mac OS X. It's like OpenSSL's 
libcrypto, except that it's missing a few less-common cyphers and doesn't have 
a big number data structure.

At least, it works in theory. I just read what the other libraries were doing 
and tried to mimic them. While the patch builds cleanly and passes every unit 
test, unfortunately, I don't have any Web servers around that use NTLM for 
authentication that I could use for testing. If anyone reading this has one, 
could you please help me test this (if you also have a Mac or an OS X virtual 
machine) or make a server available for testing (if you don't)? Contact me 
off-list.

Nick Zitzmann
<http://www.chronosnet.com/>

Attachment: darwinntlm.patch
Description: Binary data

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to