From: Hugo Landau Date: Tue, 9 Apr 2024 07:52:04 +0000 (+0100) Subject: Minor update X-Git-Tag: openssl-3.5.0-alpha1~400 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0723a3ac0c897bdd2344efbcd22765615939366a;p=thirdparty%2Fopenssl.git Minor update Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/24037) --- diff --git a/include/internal/quic_stream_map.h b/include/internal/quic_stream_map.h index 745d9c03d49..6554b1e655c 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;