An open source, portable, easy to use, readable and flexible TLS library, and reference implementation of the PSA Cryptography API. Releases are on a varying cadence, typically around 3 - 6 months between releases.
Tasks: Remove declaration if MBEDTLS_ECP_RESTARTABLE is unset (as restart_ctx isn't used in this case anyway), and add a test to all.sh which would have caught the issue.
Issue: If
MBEDTLS_CHECK_PARAMS
is defined butMBEDTLS_ECP_RESTARTABLE
isn't, the ECP test suite compilation fails because of the declaration of a local variable of typembedtls_ecp_restart_ctx
which is defined asvoid
in this case: https://github.com/ARMmbed/mbedtls/blob/fb1972db23da39bd11d4f9c9ea6266eee665605b/tests/suites/test_suite_ecp.function#L46Tasks: Remove declaration if
MBEDTLS_ECP_RESTARTABLE
is unset (asrestart_ctx
isn't used in this case anyway), and add a test toall.sh
which would have caught the issue.