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
caf629215fb516c795a5a916e126d35702edd682)
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;
}