You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduces conditional support for WinTLS as an alternative to OpenSSL for SSL/TLS on Windows platforms. Updates CMake configuration, build scripts, and source files to handle both OpenSSL and WinTLS, including new CMake find module, macro definitions, and conditional compilation. Refactors include paths, protocol handler directories, and updates documentation to reflect the new SSL/TLS options.
Macro WITH_ETP_SSL is now automatically defined by the library if needed.
set (FETPAPI_ETP_NS etp CACHESTRING"Namespace for etp objects")
169
-
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/nsDefinitions.h${CMAKE_CURRENT_SOURCE_DIR}/src/nsDefinitions.h) # Overwrite if different
173
+
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/macroDefinitions.h.in${CMAKE_CURRENT_SOURCE_DIR}/src/macroDefinitions.h@ONLY) # Overwrite if different
Copy file name to clipboardExpand all lines: README.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,8 @@
12
12
Download (build and install if necessary) third party libraries:
13
13
- BOOST : All versions from version 1.66 should be ok but you may experience some [min/max build issues](https://github.com/boostorg/beast/issues/1980) using version 1.72 or 1.73.
14
14
- AVRO : https://avro.apache.org/releases.html#Download (starting from version 1.9.0 [except 1.11.1](https://issues.apache.org/jira/browse/AVRO-3601), build it with the above boost library.)
15
-
- (OPTIONALLY) OpenSSL : version 3.4 is known to work.
15
+
- (OPTIONALLY) OpenSSL : version 3.4 is known to work. OpenSSL is mandatory on Unix environement if you want SSL/TLS support. On Windows environment, you can depends on [Wintls](https://github.com/laudrup/boost-wintls/tree/master) instead
16
+
- (OPTIONALLY) [Wintls](https://github.com/laudrup/boost-wintls/tree/master) : Starting from version 0.9.9. Only on Windows and only if you don't want to use OpenSSL to support SSL/TLS. FYI, WinTLs uses native Windows API [(SSPI/Schannel)](https://docs.microsoft.com/en-us/windows-server/security/tls/tls-ssl-schannel-ssp-overview) functionality instead of OpenSSL for providing TLS encrypted stream functionality.
16
17
- (OPTIONALLY) [FESAPI](https://github.com/F2I-Consulting/fesapi/releases) : All versions from version 2.7.0.0 should be ok but a minimal version of 2.11.0.0 is recommended to automatically recognize FESAPI CMake Variables using CMake find Module and build silently the EtpClient example.
17
18
18
19
# Configure the build
@@ -32,9 +33,14 @@ FETPAPI uses cmake as its build tool. A 3.12 version or later of cmake is requir
32
33
- You will then have to also provide the path to the SWIG (version 3 as a mininum version) executable http://swig.org/download.html in the SWIG_EXECUTABLE variable (and click again on "Configure" button)
33
34
- you will find the wrappers in fetpapi/cs/src (fetpapi/cs also contains a VS2015 project for the wrappers) or fetpapi/python/src
34
35
- OPTIONALLY, for SSL support, please enable the WITH_ETP_SSL variable and set the following variables :
35
-
- OPENSSL_INCLUDE_DIR : the OpenSSL include directory
36
-
- LIB_EAY_RELEASE : the OpenSSL crypto library you want to link with.
37
-
- SSL_EAY_RELEASE : the OpenSSL ssl library you want to link with.
36
+
- If you use OpenSSL which is mandatory on Unix and optional on Windows to support SSL/TLS
37
+
- OPENSSL_INCLUDE_DIR : the OpenSSL include directory
38
+
- LIB_EAY_RELEASE : the OpenSSL crypto library you want to link with.
39
+
- SSL_EAY_RELEASE : the OpenSSL ssl library you want to link with.
40
+
- USE_WINTLS_INSTEAD_OF_OPENSSL : must be set to OFF on windows
41
+
- If you use Wintls on Windows to support SSL/TLS
42
+
- USE_WINTLS_INSTEAD_OF_OPENSSL : must be set to ON on windows
43
+
- WINTLS_ROOT : Path to the folder containing the include folder of Wintls
38
44
- OPTIONALLY, for FESAPI (v2.7.0.0 as a minimal version) support (see [here](https://github.com/F2I-Consulting/fesapi) for documentation on how to build fesapi), please enable the WITH_FESAPI variable and usually set the following variable :
39
45
- FESAPI_ROOT : The path to the folder containing include and lib folders of FESAPI (using [our own cmake find module](./cmake/modules/FindFESAPI.cmake))
0 commit comments