2020-11-26 07:22:41 +00: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 07:38:23 +00:00
|
|
|
idf_component_register(SRC_DIRS "."
|
2020-03-22 10:30:24 +00:00
|
|
|
PRIV_INCLUDE_DIRS "."
|
2021-11-19 18:03:18 +00:00
|
|
|
PRIV_REQUIRES cmock test_utils mbedtls
|
2020-11-26 07:22:41 +00:00
|
|
|
EMBED_TXTFILES ${TEST_CRTS})
|
2019-09-29 10:04:34 +00:00
|
|
|
|
2019-06-04 12:19:25 +00:00
|
|
|
|
|
|
|
idf_component_get_property(mbedtls mbedtls COMPONENT_LIB)
|
2019-06-25 04:13:12 +00:00
|
|
|
target_compile_definitions(${mbedtls} INTERFACE "-DMBEDTLS_DEPRECATED_WARNING")
|
2019-06-04 12:19:25 +00: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")
|