]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Minor update
authorHugo Landau <hlandau@openssl.org>
Tue, 9 Apr 2024 07:52:04 +0000 (08:52 +0100)
committerNeil Horman <nhorman@openssl.org>
Mon, 17 Feb 2025 16:27:32 +0000 (11:27 -0500)
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/24037)

include/internal/quic_stream_map.h

index 745d9c03d4933c7f7c2ad6bd8bce3b485d6fce17..6554b1e655cbd737ec709cd9f7b85d35d37ba6e1 100644 (file)
@@ -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;