summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2023-03-13 14:49:24 +0000
committerPauli <pauli@openssl.org>2023-03-20 09:35:38 +1100
commit4e15b44864df0d3c6306a9bf354fea92147834df (patch)
treeb1bde91f9c83c0ebcb67e317a65c3d6987f70780 /ssl
parent560470b5d97ea5f122d53d1b85e9f384f8ba9023 (diff)
Fix seg fault when calling SSL_shutdown() for a QUIC connection
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20514)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/quic/quic_impl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c
index ba6a863e38..12099043ff 100644
--- a/ssl/quic/quic_impl.c
+++ b/ssl/quic/quic_impl.c
@@ -510,7 +510,7 @@ int ossl_quic_conn_shutdown(QUIC_CONNECTION *qc, uint64_t flags,
return 1;
if (blocking_mode(qc) && (flags & SSL_SHUTDOWN_FLAG_RAPID) == 0)
- block_until_pred(qc, quic_shutdown_wait, NULL, 0);
+ block_until_pred(qc, quic_shutdown_wait, qc, 0);
else
ossl_quic_reactor_tick(ossl_quic_channel_get_reactor(qc->ch));