From 43826a486bcbfb6a96b81deb9390cdc2c69ef76c Mon Sep 17 00:00:00 2001 From: Kazuho Oku Date: Mon, 8 Apr 2024 14:03:33 +0900 Subject: [PATCH 1/2] update picotls --- deps/picotls | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/picotls b/deps/picotls index 73d64a3c..9de892cc 160000 --- a/deps/picotls +++ b/deps/picotls @@ -1 +1 @@ -Subproject commit 73d64a3c5df2699ff1ecd30b9d15d37d098397a0 +Subproject commit 9de892ccf7b1d3dc9467ef92ba9314c155928037 From cd3ca43394af356cb21d076327ef2f452d5d6ef8 Mon Sep 17 00:00:00 2001 From: Kazuho Oku Date: Mon, 8 Apr 2024 14:07:30 +0900 Subject: [PATCH 2/2] follow the struct change --- t/test.c | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/t/test.c b/t/test.c index 5be11562..5c786f5f 100644 --- a/t/test.c +++ b/t/test.c @@ -744,21 +744,13 @@ int main(int argc, char **argv) { static ptls_iovec_t cert; static ptls_openssl_sign_certificate_t cert_signer; - static ptls_context_t tlsctx = {ptls_openssl_random_bytes, - &ptls_get_time, - ptls_openssl_key_exchanges, - ptls_openssl_cipher_suites, - {&cert, 1}, - {{NULL}}, - NULL, - NULL, - &cert_signer.super, - NULL, - 0, - 0, - 0, - NULL, - 1}; + static ptls_context_t tlsctx = {.random_bytes = ptls_openssl_random_bytes, + .get_time = &ptls_get_time, + .key_exchanges = ptls_openssl_key_exchanges, + .cipher_suites = ptls_openssl_cipher_suites, + .certificates = {&cert, 1}, + .sign_certificate = &cert_signer.super, + .require_dhe_on_psk = 1}; quic_ctx = quicly_spec_context; quic_ctx.tls = &tlsctx; quic_ctx.transport_params.max_streams_bidi = 10;