[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 108/163: cmake: allow multiple SSL backends
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 108/163: cmake: allow multiple SSL backends |
Date: |
Sun, 05 Aug 2018 12:37:14 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 59b284b6ebdda679e9fa6bb549015f994f4e79c8
Author: Raphael Gozzo <address@hidden>
AuthorDate: Sun Jun 17 13:26:44 2018 -0300
cmake: allow multiple SSL backends
This will make possible to select the SSL backend (using
curl_global_sslset()) even when the libcurl is built using CMake
Closes #2665
---
CMakeLists.txt | 2 +-
lib/curl_config.h.cmake | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7d7d76cd8..faa9bddd9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -316,7 +316,7 @@ collect_true(enabled_ssl_options enabled_ssl_options_count
CMAKE_USE_MBEDTLS
)
if(enabled_ssl_options_count GREATER 1)
- message(FATAL_ERROR "Multiple SSL options specified: ${enabled_ssl_options}.
Please pick at most one and disable the rest.")
+ set(CURL_WITH_MULTI_SSL ON)
endif()
if(CMAKE_USE_WINSSL)
diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake
index a890d8ce6..ab0094be5 100644
--- a/lib/curl_config.h.cmake
+++ b/lib/curl_config.h.cmake
@@ -966,6 +966,9 @@
/* to enable Windows SSL */
#cmakedefine USE_SCHANNEL 1
+/* enable multiple SSL backends */
+#cmakedefine CURL_WITH_MULTI_SSL 1
+
/* Define to 1 if using yaSSL in OpenSSL compatibility mode. */
#cmakedefine USE_YASSLEMUL 1
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 139/163: KNOWN_BUGS: Borland support is dropped, AIX problem is too old, (continued)
- [GNUnet-SVN] [gnurl] 139/163: KNOWN_BUGS: Borland support is dropped, AIX problem is too old, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 119/163: GOVERNANCE: linkify, changed some titles, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 82/163: test 46: make test pass after 2025, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 84/163: schannel: avoid incompatible pointer warning, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 89/163: progress: remove a set of unused defines, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 70/163: axtls: follow-up spell fix of comment, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 91/163: KNOWN_BUGS: slow connect to localhost on Windows, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 80/163: openssl: assume engine support in 1.0.1 or later, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 136/163: DEPRECATE: include year when specifying date, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 95/163: configure: enhance ability to detect/build with static openssl, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 108/163: cmake: allow multiple SSL backends,
gnunet <=
- [GNUnet-SVN] [gnurl] 86/163: runtests: support variables in <strippart>, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 107/163: url: fix dangling conn->data pointer, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 109/163: system.h: fix for gcc on 32 bit OpenServer, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 123/163: configure: remove CURL_CHECK_NI_WITHSCOPEID too, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 112/163: CURLOPT_SSL_VERIFYPEER.3: Add performance note, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 88/163: TODO: "Option to refuse usernames in URLs" done, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 126/163: openssl: allow TLS 1.3 by default, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 61/163: KNOWN_BUGS: CURL_GLOBAL_SSL, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 57/163: option: disallow username in URL, gnunet, 2018/08/05
- [GNUnet-SVN] [gnurl] 102/163: runtests.pl: remove debug leftover from bb9a340c73f3, gnunet, 2018/08/05