diff options
author | Matt Caswell <matt@openssl.org> | 2023-06-08 12:18:38 +0100 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2023-06-28 09:53:22 +1000 |
commit | 37f27b91deda5b6537883c06e845f0d2c28c5d5c (patch) | |
tree | 9b750371e7748f085e5a12d111191562b43e1d44 /test | |
parent | 956b4c75dc3f8710bf7b4e1cf01b4ef6d5ca2b45 (diff) |
Add a test quicserver utility
This QUIC server utility is intended for test purposes only and is expected
to be replaced in a future version of OpenSSL by s_server. At that point
it will be removed.
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21204)
Diffstat (limited to 'test')
-rw-r--r-- | test/helpers/quictestlib.c | 1 | ||||
-rw-r--r-- | test/quic_multistream_test.c | 1 | ||||
-rw-r--r-- | test/quic_tserver_test.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/test/helpers/quictestlib.c b/test/helpers/quictestlib.c index e289cfc056..76fc767411 100644 --- a/test/helpers/quictestlib.c +++ b/test/helpers/quictestlib.c @@ -156,6 +156,7 @@ int qtest_create_quic_objects(OSSL_LIB_CTX *libctx, SSL_CTX *clientctx, tserver_args.libctx = libctx; tserver_args.net_rbio = sbio; tserver_args.net_wbio = fisbio; + tserver_args.alpn = NULL; if (!TEST_ptr(*qtserv = ossl_quic_tserver_new(&tserver_args, certfile, keyfile))) diff --git a/test/quic_multistream_test.c b/test/quic_multistream_test.c index 8c2f935ff4..dbd7b54e38 100644 --- a/test/quic_multistream_test.c +++ b/test/quic_multistream_test.c @@ -489,6 +489,7 @@ static int helper_init(struct helper *h, int free_order) s_args.net_rbio = h->s_net_bio; s_args.net_wbio = h->s_net_bio; + s_args.alpn = NULL; s_args.now_cb = get_time; s_args.now_cb_arg = h; diff --git a/test/quic_tserver_test.c b/test/quic_tserver_test.c index beed40d76c..74b73a9190 100644 --- a/test/quic_tserver_test.c +++ b/test/quic_tserver_test.c @@ -119,6 +119,7 @@ static int do_test(int use_thread_assist, int use_fake_time, int use_inject) tserver_args.net_rbio = s_net_bio; tserver_args.net_wbio = s_net_bio; + tserver_args.alpn = NULL; if (use_fake_time) tserver_args.now_cb = fake_now; |