Gilles Peskine 0038408f55 Properly initialize SSL endpoint objects
In some cases, we were calling `mbedtls_test_ssl_endpoint_free()` on an
uninitialized `mbedtls_test_ssl_endpoint` object if the test case failed
early, e.g. due to `psa_crypto_init()` failing. This was largely harmless,
but could have caused weird test results in case of failure, and was flagged
by Coverity.

Use a more systematic style for initializing the stack object as soon as
it's declared.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2025-06-27 11:12:55 +01:00
..
.jenkins
configs [development] Remove code relating to MBEDTLS_PSA_INJECT_ENTROPY 2025-03-28 09:01:05 +01:00
git-scripts Header updates 2023-11-03 12:21:36 +00:00
include Merge pull request #9421 from mfil/feature/implement_tls_exporter 2025-04-17 14:47:13 +00:00
opt-testcases Switch to generated handshake tests 2025-03-03 16:13:19 +01:00
psa-client-server Remove trailing whitespace 2025-06-20 11:48:50 +01:00
scripts Merge pull request #9634 from gabor-mezei-arm/9144_update_depends.py_hashes_domain 2025-06-13 07:25:04 +00:00
src Merge pull request #10120 from gilles-peskine-arm/test_suite_ssl-fix-ret-20250408 2025-04-23 16:42:20 +00:00
suites Properly initialize SSL endpoint objects 2025-06-27 11:12:55 +01:00
.gitignore cmake: Generate test_keys.h and test_certs.h in the build tree 2025-03-26 21:19:28 +01:00
CMakeLists.txt cmake: Generate test_keys.h and test_certs.h in the build tree 2025-03-26 21:19:28 +01:00
compat-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
compat.sh Remove TLS-RSA related test cases 2025-03-20 17:53:07 +01:00
context-info.sh Fix test and formatting in ssl_context_info 2025-04-29 22:02:24 +02:00
Descriptions.txt
make-in-docker.sh Header updates 2023-11-03 12:21:36 +00:00
Makefile Move script and update shebang to fix CI 2025-04-09 09:51:13 +01:00
ssl-opt.sh Change hardcoded error values in ssl-opt to take in the PSA error alias 2025-05-19 16:22:05 +01:00