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
Background:
IOTC_BSP_CRYPTO="mbedtls"
requiresIOTC_BSP_TLS="mbedtls"
IOTC_BSP_CRYPTO="wolfssl"
requiresIOTC_BSP_TLS="wolfssl"
IOTC_BSP_CRYPTO
defaulted to "mbedtls". Which is a fine default, but is confusing for users who only setIOTC_BSP_TLS="wolfssl"
(asIOTC_BSP_CRYPTO
will remain set tombedtls
and cause a build error). This also broke a lot of CI tests that did not setIOTC_BSP_CRYPTO
.This fix intends to avoid user confusion and simplify build automation