From 7ef3f154d24d11101bac42afc24abe165cbd4f5e Mon Sep 17 00:00:00 2001 From: Joshua Rogers Date: Fri, 10 Oct 2025 23:13:17 +0800 Subject: [PATCH] quic: small cleanup, write is_retry with u8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Joshua Rogers Reviewed-by: Saša Nedvědický Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/28828) --- ssl/quic/quic_port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssl/quic/quic_port.c b/ssl/quic/quic_port.c index cc646f51fef..1fc05092137 100644 --- a/ssl/quic/quic_port.c +++ b/ssl/quic/quic_port.c @@ -903,7 +903,7 @@ static int marshal_validation_token(QUIC_VALIDATION_TOKEN *token, } if (!WPACKET_init(&wpkt, buf_mem) - || !WPACKET_memset(&wpkt, token->is_retry, 1) + || !WPACKET_put_bytes_u8(&wpkt, token->is_retry) || !WPACKET_memcpy(&wpkt, &token->timestamp, sizeof(token->timestamp)) || (token->is_retry -- 2.47.3