From e888e30476c9bbb0f6fd0a79737197156dc0a99c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 22 Jan 2015 23:04:10 +0100 Subject: BoringSSL: fix build for non-configure builds HAVE_BORINGSSL gets defined now by configure and should be defined by other build systems in case a BoringSSL build is desired. --- lib/curl_setup.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/curl_setup.h') diff --git a/lib/curl_setup.h b/lib/curl_setup.h index 103938cc1..93ffad034 100644 --- a/lib/curl_setup.h +++ b/lib/curl_setup.h @@ -626,8 +626,8 @@ int netware_init(void); defined(USE_GNUTLS) || defined(USE_NSS) || defined(USE_DARWINSSL) || \ defined(USE_OS400CRYPTO) || defined(USE_WIN32_CRYPTO) -#if defined(USE_SSLEAY) && !defined(HAVE_DES_SET_ODD_PARITY) -/* BoringSSL, not NTLM capable */ +#ifdef HAVE_BORINGSSL /* BoringSSL is not NTLM capable */ +#undef USE_NTLM #else #define USE_NTLM #endif -- cgit v1.2.3