diff options
Diffstat (limited to 'ssl/quic/quic_impl.c')
-rw-r--r-- | ssl/quic/quic_impl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/quic/quic_impl.c b/ssl/quic/quic_impl.c index ed1df9e686..087a61c66a 100644 --- a/ssl/quic/quic_impl.c +++ b/ssl/quic/quic_impl.c @@ -4192,7 +4192,7 @@ int ossl_quic_listen(SSL *ssl) if (!expect_quic_listener(ssl, &ctx)) return 0; - qctx_lock(&ctx); + qctx_lock_for_io(&ctx); ret = ql_listen(ctx.ql); @@ -4229,7 +4229,7 @@ SSL *ossl_quic_accept_connection(SSL *ssl, uint64_t flags) if (!expect_quic_listener(ssl, &ctx)) return NULL; - qctx_lock(&ctx); + qctx_lock_for_io(&ctx); if (!ql_listen(ctx.ql)) goto out; |