mbedtls/tests
Gilles Peskine a844b4b370 No need to use MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED in tests
Initializing return status variables to CORRUPTION_DETECTED is a second line
of defense in library code in case there's a code path where we forget to
assign to the variable. This isn't useful in test code. In any case, here,
we might as well define the variable at the point of use.

This fixes a build error in configurations with MBEDTLS_ERROR_C and
MBEDTLS_PSA_CRYPTO_C both disabled, because then mbedtls/error.h isn't
included so MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED isn't defined.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-09-15 21:05:04 +02:00
..
.jenkins
configs Remove use_psa_crypto in test scripts 2022-03-22 15:13:35 +08:00
data_files Remove remaining bignum radix args 2022-08-01 15:07:14 +01:00
docker/bionic Jinja2 prerequisite set up on the docker 2021-12-18 13:29:10 +05:30
git-scripts Fix typographical errors in .md files found by cspell 2022-07-29 13:44:01 +01:00
include Include platform.h unconditionally: automatic part 2022-09-15 20:33:07 +02:00
opt-testcases Add possible group tests for psk with ECDHE 2022-09-06 14:49:39 +08:00
scripts Add an ssl-opt.sh run to all.sh for the accel_hash_use_psa config 2022-09-12 05:37:46 -04:00
src Remove unnecessary psa/crypto.h include 2022-08-23 05:42:33 -04:00
suites No need to use MBEDTLS_ERR_ERROR_CORRUPTION_DETECTED in tests 2022-09-15 21:05:04 +02:00
.gitignore tests: Add build of a PSA test driver library 2021-12-06 07:50:27 +01:00
CMakeLists.txt Merge pull request #5635 from gilles-peskine-arm/psa-test-op-fail 2022-04-15 10:52:47 +02:00
compat-in-docker.sh
compat.sh Add comment in compat.sh about callers 2022-04-14 09:21:56 +02:00
context-info.sh
Descriptions.txt
make-in-docker.sh
Makefile Declare modules used by generate_psa_tests.py as dependencies 2022-03-15 18:32:10 +01:00
ssl-opt-in-docker.sh
ssl-opt.sh Split some ssl-opt.sh test cases into two 2022-09-12 05:37:46 -04:00