From: Joshua Rogers Date: Fri, 10 Oct 2025 15:13:17 +0000 (+0800) Subject: quic: small cleanup, write is_retry with u8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7ef3f154d24d11101bac42afc24abe165cbd4f5e;p=thirdparty%2Fopenssl.git quic: small cleanup, write is_retry with u8 Signed-off-by: Joshua Rogers Reviewed-by: Saša Nedvědický Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/28828) --- 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