Files
mbedtls/tests
Gilles Peskine 760608d47b 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-24 18:42:04 +02:00
..
2023-11-03 12:21:36 +00:00
2023-11-03 12:21:36 +00:00
2025-03-20 17:53:07 +01:00
2023-11-03 12:21:36 +00:00
2025-06-11 17:40:42 +01:00