mbedtls/tests
Manuel Pégourié-Gonnard 04b7488411 Fix potential use of uninitialised variable
If any of the TEST_ASSERT()s that are before the call to
mbedtls_pk_warp_as_opaque() failed, when reaching the exit label
psa_destroy_key() would be called with an uninitialized argument.

Found by Clang.

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2020-08-25 10:45:51 +02:00
..
.jenkins Add a Jenkinsfile for PR job testing 2018-10-19 16:41:54 +01:00
configs Add a test component with malloc(0) returning NULL 2020-02-11 19:26:28 +01:00
data_files Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
docker/bionic Improve compatibility with firewalled networks 2019-06-29 17:45:34 -05:00
git-scripts Add a pre-commit hook that checks generated files 2020-07-16 10:54:38 +02:00
include/test Add option to test constant-flow with valgrind 2020-08-20 10:22:41 +02:00
scripts Add option to test constant-flow with valgrind 2020-08-20 10:22:41 +02:00
src Use arc4random_buf instead of rand on NetBSD 2020-08-03 17:56:50 +02:00
suites Fix potential use of uninitialised variable 2020-08-25 10:45:51 +02:00
.gitignore tests: Add helpers.c and helpers.h files 2020-06-12 14:33:00 +02:00
CMakeLists.txt Add comments explaining include paths 2020-07-02 15:59:45 +02:00
compat-in-docker.sh Clean up file prologue comments 2019-06-29 17:45:34 -05:00
compat.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
context-info.sh Add Apache-2.0 headers to all scripts 2020-06-15 12:05:47 +02:00
Descriptions.txt Revert "Remove tests that depend on TLS or X.509" 2020-03-19 14:17:54 +01:00
make-in-docker.sh Clean up file prologue comments 2019-06-29 17:45:34 -05:00
Makefile Add comments explaining include paths 2020-07-02 15:59:45 +02:00
ssl-opt-in-docker.sh Clean up file prologue comments 2019-06-29 17:45:34 -05:00
ssl-opt.sh Fix erroneous skip of test cases for disabled ciphersuites 2020-07-02 11:38:21 +02:00