2020-11-26 02:22:41 -05:00
|
|
|
set(TEST_CRTS "crts/server_cert_chain.pem"
|
|
|
|
"crts/prvtkey.pem"
|
|
|
|
"crts/server_cert_bundle"
|
|
|
|
"crts/bad_md_crt.pem"
|
|
|
|
"crts/wrong_sig_crt_esp32_com.pem"
|
|
|
|
"crts/correct_sig_crt_esp32_com.pem")
|
|
|
|
|
2019-04-28 03:38:23 -04:00
|
|
|
idf_component_register(SRC_DIRS "."
|
2020-03-22 06:30:24 -04:00
|
|
|
PRIV_INCLUDE_DIRS "."
|
2021-11-19 13:03:18 -05:00
|
|
|
PRIV_REQUIRES cmock test_utils mbedtls
|
2020-11-26 02:22:41 -05:00
|
|
|
EMBED_TXTFILES ${TEST_CRTS})
|
2019-09-29 06:04:34 -04:00
|
|
|
|
2019-06-04 08:19:25 -04:00
|
|
|
|
|
|
|
idf_component_get_property(mbedtls mbedtls COMPONENT_LIB)
|
2019-06-25 00:13:12 -04:00
|
|
|
target_compile_definitions(${mbedtls} INTERFACE "-DMBEDTLS_DEPRECATED_WARNING")
|
2019-06-04 08:19:25 -04:00
|
|
|
target_compile_definitions(mbedtls PUBLIC "-DMBEDTLS_DEPRECATED_WARNING")
|
|
|
|
target_compile_definitions(mbedcrypto PUBLIC "-DMBEDTLS_DEPRECATED_WARNING")
|
|
|
|
target_compile_definitions(mbedx509 PUBLIC "-DMBEDTLS_DEPRECATED_WARNING")
|