mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
QUIC MSST: Clarify default XSO transitions
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20765)
This commit is contained in:
parent
47238a3d3f
commit
3a61a96c1e
@ -520,7 +520,13 @@ static void qc_set_default_xso_keep_ref(QUIC_CONNECTION *qc, QUIC_XSO *xso,
|
||||
* Changing from not having a default XSO to having one. The new XSO
|
||||
* will have had a reference to the QC we need to drop to avoid a
|
||||
* circular reference.
|
||||
*
|
||||
* Currently we never change directly from one default XSO to
|
||||
* another, though this function would also still be correct if this
|
||||
* weren't the case.
|
||||
*/
|
||||
assert(*old_xso == NULL);
|
||||
|
||||
CRYPTO_DOWN_REF(&qc->ssl.references, &refs, &qc->ssl.lock);
|
||||
assert(refs > 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user