summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHugo Landau <hlandau@openssl.org>2024-04-09 08:52:04 +0100
committerHugo Landau <hlandau@openssl.org>2024-04-19 09:33:54 +0100
commit2f00ca766c3ab6de9dc3eab6274c02b0e8f5a2ed (patch)
tree2d94593c2496d0acbbdaa1c82365283dfa6b37a5
parent67c03a47b23cc9a5fa961199ddbd2693735f1620 (diff)
Minor update
Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/24037)
-rw-r--r--include/internal/quic_stream_map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/internal/quic_stream_map.h b/include/internal/quic_stream_map.h
index 745d9c03d4..6554b1e655 100644
--- a/include/internal/quic_stream_map.h
+++ b/include/internal/quic_stream_map.h
@@ -487,6 +487,7 @@ static ossl_inline ossl_unused int ossl_quic_stream_recv_get_final_size(const QU
{
switch (s->recv_state) {
default:
+ assert(0);
case QUIC_RSTREAM_STATE_NONE:
case QUIC_RSTREAM_STATE_RECV:
return 0;
@@ -515,6 +516,7 @@ static ossl_inline ossl_unused int ossl_quic_stream_recv_pending(const QUIC_STRE
switch (s->recv_state) {
default:
+ assert(0);
case QUIC_RSTREAM_STATE_NONE:
return 0;