Closed
Bug 421391
Opened 16 years ago
Closed 10 years ago
Use ssl3_AppendHandshakeNumber to send a zero-length SID
Categories
(NSS :: Libraries, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
3.16.2
People
(Reporter: wtc, Assigned: Cykesiopka)
References
Details
Attachments
(1 file)
1.56 KB,
patch
|
ryan.sleevi
:
review+
|
Details | Diff | Splinter Review |
In ssl3_SendClientHello and ssl3_SendServerHello, we use the following code to send the SID: if (sid) rv = ssl3_AppendHandshakeVariable( ss, sid->u.ssl3.sessionID, sid->u.ssl3.sessionIDLength, 1); else rv = ssl3_AppendHandshakeVariable(ss, NULL, 0, 1); If sid is NULL, or sid->u.ssl3.sessionIDLength is 0, we could send it more efficiently with rv = ssl3_AppendHandshakeNumber(ss, 0, 1); than with rv = ssl3_AppendHandshakeVariable(ss, NULL, 0, 1); This change was made to ssl3_SendServerHello in the original TLS session ticket patch, but was backed out in the last minute. Nelson would like us to put the change back in and also make the change to ssl3_SendClientHello.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8420580 -
Flags: review?(ryan.sleevi)
Comment 2•10 years ago
|
||
Comment on attachment 8420580 [details] [diff] [review] bug421391_v1.patch Review of attachment 8420580 [details] [diff] [review]: ----------------------------------------------------------------- r=ryan.sleevi
Attachment #8420580 -
Flags: review?(ryan.sleevi) → review+
Updated•10 years ago
|
Keywords: checkin-needed
Reporter | ||
Comment 3•10 years ago
|
||
Patch checked in: https://hg.mozilla.org/projects/nss/rev/801441d4bab0
Assignee: wtc → cykesiopka.bmo
Severity: normal → trivial
Status: NEW → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Priority: -- → P2
Resolution: --- → FIXED
Target Milestone: --- → 3.16.2
You need to log in
before you can comment on or make changes to this bug.
Description
•