Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 1654332 - Buffered ClientHello construction. r=mt
This patch refactors construction of Client Hello messages. Instead of each component of the message being written separately into `ss->sec.ci.sendBuf`, we now construct the message in its own sslBuffer. Once complete, the entire message is added to the sendBuf via `ssl3_AppendHandshake`.

`ssl3_SendServerHello` already uses this approach and it becomes necessary for ECH, where we use the constructed ClientHello to create an inner ClientHello.

Differential Revision: https://phabricator.services.mozilla.com/D96239

--HG--
extra : moz-landing-system : lando
  • Loading branch information
Kevin Jacobs committed Nov 17, 2020
1 parent 095bcca commit 85f350f
Show file tree
Hide file tree
Showing 5 changed files with 367 additions and 251 deletions.

0 comments on commit 85f350f

Please sign in to comment.