]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
SSL_inject_net_dgram() should return result of ossl_quic_demux_inject()
authorsashan <anedvedicky@gmail.com>
Thu, 10 Oct 2024 08:48:07 +0000 (10:48 +0200)
committerNeil Horman <nhorman@openssl.org>
Mon, 17 Feb 2025 16:27:33 +0000 (11:27 -0500)
This got introduced by #595288251bb (QUIC APL: Ensure APL
functions use correct prologue)

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25659)

ssl/quic/quic_impl.c

index 30b1a20a8d63715aaadae3914aee8619d202285a..ee360969998c9ed5fab3db6ab38f4be02d3ffe32 100644 (file)
@@ -3198,7 +3198,6 @@ int SSL_inject_net_dgram(SSL *s, const unsigned char *buf,
     demux = ossl_quic_port_get0_demux(port);
     ret = ossl_quic_demux_inject(demux, buf, buf_len, peer, local);
 
-    ret = 1;
 err:
     qctx_unlock(&ctx);
     return ret;