]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Note RFC 9000 19.19 requirement
authorPauli <pauli@openssl.org>
Thu, 13 Jul 2023 03:43:46 +0000 (13:43 +1000)
committerPauli <pauli@openssl.org>
Fri, 4 Aug 2023 01:55:34 +0000 (11:55 +1000)
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21429)

ssl/quic/quic_wire.c

index 22214069ec2d12cd6f9c963e5896da2c1fb2be59..4b50f5984b6cc7a85e69a18ae8b641ef17011710 100644 (file)
@@ -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;