From a5706365935e586436d5055df6f71cbf993014da Mon Sep 17 00:00:00 2001 From: Christian Huitema Date: Sat, 30 Dec 2023 09:09:13 -0800 Subject: [PATCH 1/3] Update reference to sha256 --- lib/context.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/context.c b/lib/context.c index 77cb23a..abea26f 100644 --- a/lib/context.c +++ b/lib/context.c @@ -189,7 +189,7 @@ void fuzi_q_fuzzer_init(fuzzer_ctx_t* fuzz_ctx, picoquic_connection_id_t * init_ void fuzzer_random_cid(fuzzer_ctx_t* ctx, picoquic_connection_id_t* icid) { /* Set a hash context for derivation of random CID */ - void * hash_context = picoquic_hash_create("SHA256"); + void * hash_context = picoquic_hash_create("sha256"); uint8_t hash_buffer[256] = { 0 }; /* Use the CID that was already prepared */ *icid = ctx->next_cid; From 8e80762a5e5649c8cf6bba7bd3bf91681386a341 Mon Sep 17 00:00:00 2001 From: Christian Huitema Date: Sat, 30 Dec 2023 09:13:18 -0800 Subject: [PATCH 2/3] Get latest of picotls --- ci/build_picotls.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/build_picotls.sh b/ci/build_picotls.sh index 04b568c..4f162ce 100755 --- a/ci/build_picotls.sh +++ b/ci/build_picotls.sh @@ -8,7 +8,7 @@ cd .. # git clone --branch master --single-branch --shallow-submodules --recurse-submodules --no-tags https://github.com/h2o/picotls git clone https://github.com/h2o/picotls cd picotls -git checkout -q "$COMMIT_ID" +# git checkout -q "$COMMIT_ID" git submodule init git submodule update cmake $CMAKE_OPTS . From fcea90db7a938071d7a64564d537c24498fb44bb Mon Sep 17 00:00:00 2001 From: Christian Huitema Date: Sat, 30 Dec 2023 12:39:17 -0800 Subject: [PATCH 3/3] Align to picoquic 2023-12-30 --- lib/client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client.c b/lib/client.c index ee172d0..2f1bd05 100644 --- a/lib/client.c +++ b/lib/client.c @@ -93,7 +93,7 @@ int fuzi_q_start_connection(fuzi_q_ctx_t* fuzi_q_ctx, fuzi_q_cnx_ctx_t* cnx_ctx, /* Try pick the ALPN and version from tickets if there are any */ if (picoquic_demo_client_get_alpn_and_version_from_tickets(fuzi_q_ctx->quic, PICOQUIC_TEST_SNI, alpn, - proposed_version, current_time, &ticket_alpn, &ticket_version) == 0) { + proposed_version, &ticket_alpn, &ticket_version) == 0) { if (ticket_version != 0) { proposed_version = ticket_version; }