GoogleCloudPlatform / iot-device-sdk-embedded-c

Cloud IoT Device SDK for Connectivity to IoT Core.
Other
247 stars 83 forks source link

set IOTC_BSP_TLS as IOTC_BSP_CRYPTO default #41

Closed fredrec closed 5 years ago

fredrec commented 5 years ago

Background:

IOTC_BSP_CRYPTO defaulted to "mbedtls". Which is a fine default, but is confusing for users who only set IOTC_BSP_TLS="wolfssl" (as IOTC_BSP_CRYPTO will remain set to mbedtls and cause a build error). This also broke a lot of CI tests that did not set IOTC_BSP_CRYPTO.

This fix intends to avoid user confusion and simplify build automation