Remove dead asserts from ssl3_SetupPendingCipherSpec()

RESOLVED FIXED in 3.29

Status

NSS
Libraries
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: ttaubert, Assigned: ttaubert)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

2 years ago
In ssl3_SetupPendingCipherSpec(), there's a

> PORT_Assert(ss->version < SSL_LIBRARY_VERSION_TLS_1_3)

at the top. And then at the bottom there is:

> if (ss->version >= SSL_LIBRARY_VERSION_TLS_1_3) {
>   PORT_Assert(ss->ssl3.hs.kea_def->ephemeral);
>   PORT_Assert(pwSpec->cipher_def->type == type_aead);
> }
(Assignee)

Comment 2

2 years ago
https://hg.mozilla.org/projects/nss/rev/f67ce67467b3
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 3.29
You need to log in before you can comment on or make changes to this bug.