diff options
author | Matt Caswell <matt@openssl.org> | 2023-05-05 16:51:43 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2023-05-24 12:18:33 +0100 |
commit | e8528c95a0543a218b432d2ea02e6bd0c1e7ab19 (patch) | |
tree | 9c71c34078cf44e9534a03889330014081f61927 /ssl/quic/quic_trace.c | |
parent | 45454cccf8172b5a2d7c1342067a1d8dc8396fc9 (diff) |
Enable tracing of packets that have been sent
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/20914)
Diffstat (limited to 'ssl/quic/quic_trace.c')
-rw-r--r-- | ssl/quic/quic_trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/quic/quic_trace.c b/ssl/quic/quic_trace.c index 025e8189ef..aa25e8f028 100644 --- a/ssl/quic/quic_trace.c +++ b/ssl/quic/quic_trace.c @@ -495,7 +495,7 @@ int ossl_quic_trace(int write_p, int version, int content_type, * TODO(QUIC): We need to query the short connection id len here, * e.g. via some API SSL_get_short_conn_id_len() */ - if (ossl_quic_wire_decode_pkt_hdr(&pkt, 0, 0, &hdr, NULL) != 1) + if (ossl_quic_wire_decode_pkt_hdr(&pkt, 0, 0, 1, &hdr, NULL) != 1) return 0; BIO_puts(bio, write_p ? "Sent" : "Received"); |