From 41fe7a2b8e3ba7075aa34b9d2412037e87cfffb5 Mon Sep 17 00:00:00 2001 From: sashan Date: Thu, 10 Oct 2024 10:48:07 +0200 Subject: [PATCH] SSL_inject_net_dgram() should return result of ossl_quic_demux_inject() This got introduced by #595288251bb (QUIC APL: Ensure APL functions use correct prologue) Reviewed-by: Neil Horman Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/25659) --- ssl/quic/quic_impl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index 30b1a20a8d6..ee360969998 100644 --- a/ssl/quic/quic_impl.c +++ b/ssl/quic/quic_impl.c @@ -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; -- 2.47.2