From 73ef6e6f0f14c2cf2231ee72f3d98757310f1e31 Mon Sep 17 00:00:00 2001 From: Pauli Date: Thu, 13 Jul 2023 13:43:46 +1000 Subject: [PATCH] Note RFC 9000 19.19 requirement Reviewed-by: Tim Hudson Reviewed-by: Hugo Landau (Merged from https://github.com/openssl/openssl/pull/21429) --- ssl/quic/quic_wire.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ssl/quic/quic_wire.c b/ssl/quic/quic_wire.c index 22214069ec2..4b50f5984b6 100644 --- a/ssl/quic/quic_wire.c +++ b/ssl/quic/quic_wire.c @@ -372,6 +372,10 @@ int ossl_quic_wire_encode_frame_conn_close(WPACKET *pkt, || !WPACKET_quic_write_vlint(pkt, f->error_code)) return 0; + /* + * RFC 9000 s. 19.19: The application-specific variant of CONNECTION_CLOSE + * (type 0x1d) does not include this field. + */ if (!f->is_app && !WPACKET_quic_write_vlint(pkt, f->frame_type)) return 0; -- 2.47.2