Move queue management into mbedtls_test_ssl_dtls_join_endpoints

This allows mbedtls_test_ssl_endpoint_init() to no longer interact with the
other endpoint.

No behavior change.

Signed-off-by: Gilles Peskine <[email protected]>
This commit is contained in:
Gilles Peskine
2025-05-28 20:23:22 +02:00
parent b092e78ab3
commit 6c154e7d51
2 changed files with 20 additions and 24 deletions
+1
View File
@@ -205,6 +205,7 @@ typedef struct mbedtls_test_ssl_endpoint {
/* Objects owned by the endpoint */
int *ciphersuites;
mbedtls_test_ssl_message_queue queue_input;
mbedtls_x509_crt *ca_chain;
mbedtls_x509_crt *cert;
mbedtls_pk_context *pkey;