(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
2020-05-17 10:32:30 -07:00
parent e8287e91e4
commit ea207d8199
5 changed files with 62 additions and 6 deletions

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()