summaryrefslogtreecommitdiffstats
path: root/doc/designs
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-07-28 15:32:57 +0100
committerHugo Landau <hlandau@openssl.org>2023-08-02 20:27:07 +0100
commitcf355bd6e5564694e589d3f96e8bde192519649c (patch)
tree875533809e3ec44d2a8d819251bb288caf8a92a1 /doc/designs
parentf219abef51fd47fa5945d23bbdc379778e512dc5 (diff)
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 <tomas@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21591)
Diffstat (limited to 'doc/designs')
-rw-r--r--doc/designs/quic-design/quic-fault-injector.md8
1 files changed, 4 insertions, 4 deletions
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;