mbedtls/programs/ssl
Gilles Peskine 30346f639e 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-17 19:07:42 +02:00
..
CMakeLists.txt Improve cmake inclusion of query_config.c when building apps 2019-02-07 10:32:31 +00:00
dtls_client.c Fix const-ness in mbedtls_param_failed() 2018-12-11 12:28:56 +01:00
dtls_server.c Fix const-ness in mbedtls_param_failed() 2018-12-11 12:28:56 +01:00
mini_client.c Fix const-ness in mbedtls_param_failed() 2018-12-11 12:28:56 +01:00
query_config.c Make it easier to define MBEDTLS_PARAM_FAILED as assert 2019-06-17 19:07:42 +02:00
ssl_client1.c Fix const-ness in mbedtls_param_failed() 2018-12-11 12:28:56 +01:00
ssl_client2.c Document "none" value for ca_path/ca_file in ssl_client2/ssl_server2 2019-05-30 10:21:59 +01:00
ssl_fork_server.c Fix const-ness in mbedtls_param_failed() 2018-12-11 12:28:56 +01:00
ssl_mail_client.c Fix default port number information 2019-03-06 15:15:28 +02:00
ssl_pthread_server.c Fix const-ness in mbedtls_param_failed() 2018-12-11 12:28:56 +01:00
ssl_server.c Fix const-ness in mbedtls_param_failed() 2018-12-11 12:28:56 +01:00
ssl_server2.c Document "none" value for ca_path/ca_file in ssl_client2/ssl_server2 2019-05-30 10:21:59 +01:00