QUIC SSTREAM: Fix bug in ossl_quic_sstream_is_totally_acked
authorHugo Landau <hlandau@openssl.org>
Tue, 31 Oct 2023 16:47:55 +0000 (16:47 +0000)
committerHugo Landau <hlandau@openssl.org>
Thu, 2 Nov 2023 08:49:01 +0000 (08:49 +0000)
commit115ee28263c28c78a34ce4e40a9e4be8361deee6
tree389555fe6423de2cd5f74f45e7c1a73b53cd8812
parentdaf26c2d7a4d29ec1040fc0d5d4215cfc2dcf4a7
QUIC SSTREAM: Fix bug in ossl_quic_sstream_is_totally_acked

ossl_quic_sstream_is_totally_acked would return 0
if no data had been appended to the stream yet.
Fixed and added tests.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/22580)
ssl/quic/quic_sstream.c
test/quic_stream_test.c