diff options
author | Hugo Landau <hlandau@openssl.org> | 2023-01-04 07:24:08 +0000 |
---|---|---|
committer | Hugo Landau <hlandau@openssl.org> | 2023-01-13 13:20:35 +0000 |
commit | 9f0ade7c470b0ee9be3c25d38bbec7d05ca4237e (patch) | |
tree | dd5d51ea57c4838aa509c6d6892634d66beb166e /ssl/quic/quic_demux.c | |
parent | 05f97354bb6fe29731a8a25a475a115a2c44720a (diff) |
QUIC: Minor cleanup
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19703)
Diffstat (limited to 'ssl/quic/quic_demux.c')
-rw-r--r-- | ssl/quic/quic_demux.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ssl/quic/quic_demux.c b/ssl/quic/quic_demux.c index 810be8af03..376a15244e 100644 --- a/ssl/quic/quic_demux.c +++ b/ssl/quic/quic_demux.c @@ -541,8 +541,6 @@ int ossl_quic_demux_inject(QUIC_DEMUX *demux, return 0; urxe = ossl_list_urxe_head(&demux->urx_free); - if (buf_len > urxe->alloc_len) - return 0; assert(urxe->demux_state == URXE_DEMUX_STATE_FREE); |