ossl_quic_conn_stream_conclude(): Fixup the quic_unlock() call name

Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28651)

(cherry picked from commit caf629215f)
This commit is contained in:
Tomas Mraz 2025-09-24 13:51:31 +02:00
parent fbab59ee38
commit 2788ec5017
1 changed files with 2 additions and 2 deletions

View File

@ -2940,13 +2940,13 @@ int ossl_quic_conn_stream_conclude(SSL *s)
if (!quic_mutation_allowed(ctx.qc, /*req_active=*/1)) {
ret = QUIC_RAISE_NON_NORMAL_ERROR(&ctx, SSL_R_PROTOCOL_IS_SHUTDOWN, NULL);
qctx_unlock(ctx.qc);
quic_unlock(ctx.qc);
return ret;
}
if (!quic_validate_for_write(ctx.xso, &err)) {
ret = QUIC_RAISE_NON_NORMAL_ERROR(&ctx, err, NULL);
qctx_unlock(ctx.qc);
quic_unlock(ctx.qc);
return ret;
}