(windows + tls) mbedtls is the default windows tls backend + add ability to load system certificates with mbdetls on windows

This commit is contained in:
Benjamin Sergeant committed 2020-05-17 20:36:46 -07:00
1 parent e8287e91e4
commit ea207d8199
5 files changed
+62 -6

No files matched your search

+2 -2
View File
@@ -123,8 +123,8 @@ if (USE_TLS)
if (NOT USE_MBED_TLS AND NOT USE_OPEN_SSL) # unless we want something else
set(USE_SECURE_TRANSPORT ON)
endif()
# default to mbedtls on uwp (universal windows platform) if nothing is configured
elseif (${CMAKE_SYSTEM_NAME} MATCHES "WindowsStore")
# default to mbedtls on windows if nothing is configured
elseif (WIN32)
if (NOT USE_OPEN_SSL) # unless we want something else
set(USE_MBED_TLS ON)
endif()