Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21260)
*/
assert(*old_xso == NULL);
- CRYPTO_DOWN_REF(&qc->ssl.references, &refs, &qc->ssl.lock);
+ CRYPTO_DOWN_REF(&qc->ssl.references, &refs);
assert(refs > 0);
}
}
* It is a caller error for the XSO being attached as a default XSO to have
* more than one ref.
*/
- if (!CRYPTO_GET_REF(&xso->ssl.references, &nref, &xso->ssl.lock)) {
+ if (!CRYPTO_GET_REF(&xso->ssl.references, &nref)) {
quic_unlock(ctx.qc);
return QUIC_RAISE_NON_NORMAL_ERROR(&ctx, ERR_R_INTERNAL_ERROR,
"ref");