Gilles Peskine c7ad122f51 Make it easier to define MBEDTLS_PARAM_FAILED as assert
Introduce a new configuration option MBEDTLS_CHECK_PARAMS_ASSERT,
which is disabled by default. When this option is enabled,
MBEDTLS_PARAM_FAILED defaults to assert rather than to a call to
mbedtls_param_failed, and <assert.h> is included.

This fixes #2671 (no easy way to make MBEDTLS_PARAM_FAILED assert)
without breaking backward compatibility. With this change,
`config.pl full` runs tests with MBEDTLS_PARAM_FAILED set to assert,
so the tests will fail if a validation check fails, and programs don't
need to provide their own definition of mbedtls_param_failed().
2019-06-13 16:51:59 +02:00
..
2019-04-02 10:02:55 -07:00
2019-02-26 16:49:42 +00:00
2019-02-19 17:59:00 +00:00
2019-02-05 05:06:35 -05:00
2019-05-15 13:53:02 +03:00
2019-03-19 16:12:55 +00:00
2019-05-15 15:15:55 +03:00