aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--lib/curl_setup.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 61968b942..7193e2790 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1617,6 +1617,8 @@ if test "$curl_ssl_msg" = "$init_ssl_msg" && test X"$OPT_SSL" != Xno; then
AC_MSG_CHECKING([for BoringSSL])
if test "x$ac_cv_func_DES_set_odd_parity" != "xyes"; then
curl_ssl_msg="enabled (BoringSSL)"
+ AC_DEFINE_UNQUOTED(HAVE_BORINGSSL, 1,
+ [Define to 1 if using BoringSSL.])
AC_MSG_RESULT([yes])
else
AC_MSG_RESULT([no])
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