mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-04-27 05:53:49 +02:00
Previously, ecp.h was included only if MBEDTLS_ECDH_C was set, which broke the build in configurations using ECDSA, but not ECDH. An example of such a config is configs/config-thread.h, which uses ECJPAKE exclusively. Moreover, the inclusion of ecdh.h isn't needed, because the header only uses constants defined in the ECP module.