From cf355bd6e5564694e589d3f96e8bde192519649c Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Fri, 28 Jul 2023 15:32:57 +0100 Subject: Extend the test_quic_write_read() test to include resumption We add an additional loop around test_quic_write_read() to repeat the test but using a session obtained from the initial iteration to confirm that we can successfully resume the session. Reviewed-by: Tomas Mraz Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/21591) --- doc/designs/quic-design/quic-fault-injector.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/designs') diff --git a/doc/designs/quic-design/quic-fault-injector.md b/doc/designs/quic-design/quic-fault-injector.md index 77e034df4d..b77e2526c2 100644 --- a/doc/designs/quic-design/quic-fault-injector.md +++ b/doc/designs/quic-design/quic-fault-injector.md @@ -213,8 +213,8 @@ typedef struct ossl_qf_encrypted_extensions { * instance. |block| indicates whether we are using blocking mode or not. */ int qtest_create_quic_objects(OSSL_LIB_CTX *libctx, SSL_CTX *clientctx, - char *certfile, char *keyfile, int block, - QUIC_TSERVER **qtserv, SSL **cssl, + SSL_CTX *serverctx, char *certfile, char *keyfile, + int block, QUIC_TSERVER **qtserv, SSL **cssl, OSSL_QUIC_FAULT **fault); /* @@ -432,7 +432,7 @@ static int test_unknown_frame(void) if (!TEST_ptr(cctx)) goto err; - if (!TEST_true(qtest_create_quic_objects(NULL, cctx, cert, privkey, 0, + if (!TEST_true(qtest_create_quic_objects(NULL, cctx, NULL, cert, privkey, 0, &qtserv, &cssl, &fault))) goto err; @@ -525,7 +525,7 @@ static int test_no_transport_params(void) if (!TEST_ptr(cctx)) goto err; - if (!TEST_true(qtest_create_quic_objects(NULL, cctx, cert, privkey, 0, + if (!TEST_true(qtest_create_quic_objects(NULL, cctx, NULL, cert, privkey, 0, &qtserv, &cssl, &fault))) goto err; -- cgit v1.2.3