Skip to content

Commit

Permalink
BoringSSL: fix build for non-configure builds
Browse files Browse the repository at this point in the history
HAVE_BORINGSSL gets defined now by configure and should be defined by
other build systems in case a BoringSSL build is desired.
  • Loading branch information
bagder committed Jan 22, 2015
1 parent 3d5648f commit e888e30
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions configure.ac
Expand Up @@ -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])
Expand Down
4 changes: 2 additions & 2 deletions lib/curl_setup.h
Expand Up @@ -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
Expand Down

0 comments on commit e888e30

Please sign in to comment.