mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-05 09:22:54 +03:00
Add some improvements to make secure coap work on Zephyr 4.3.0 with mbedtls (not using Zephyr TLS protocol options). We now set the build options to zephyr, so we make use of the internal mbedtl in zephyr, so we do not require a specific header file anymore. In older versions of Zephyr, where mbedtls does not expose the configuration, we can force-set the macro in the C flags, so that mbedtls will have our required function. This way, we do not need to change the mbedtls included in Zephyr, while still supporting a few older versions.