cURL / Mailing Lists / curl-library / Single Mail


More peer review! Patch for NTLM support with Darwin SSL

From: Nick Zitzmann <>
Date: Wed, 27 Jun 2012 00:55:30 -0600

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

List admin:

Received on 2012-06-27