summaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorNick Zitzmann <nick@chronosnet.com>2012-06-27 11:57:31 +0200
committerYang Tse <yangsita@gmail.com>2012-06-27 11:57:31 +0200
commit7aa95afadd39867dd95fd4f3df316f7e7decac7a (patch)
treecaf5354894c6a786fb5b5bb3fc5a60ab553575ae /lib/setup.h
parentdc7dc9786f43484ca422c2505880b832dea0f4f1 (diff)
downloadcurl-7aa95afadd39867dd95fd4f3df316f7e7decac7a.tar.gz
DarwinSSL: allow using NTLM authentication
Allow NTLM authentication when building using SecureTransport (Darwin) for SSL. This 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.
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/setup.h b/lib/setup.h
index a2d0b2845..42a0a813a 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -593,7 +593,7 @@ int netware_init(void);
/* Single point where USE_NTLM definition might be done */
#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_NTLM)
#if defined(USE_SSLEAY) || defined(USE_WINDOWS_SSPI) || \
- defined(USE_GNUTLS) || defined(USE_NSS)
+ defined(USE_GNUTLS) || defined(USE_NSS) || defined(USE_DARWINSSL)
#define USE_NTLM
#endif
#endif