Skip to content

Commit

Permalink
Only perform key update when using AEGIS cipher
Browse files Browse the repository at this point in the history
Summary: Inside FizzPeeker and once the handshake is successful, we will update the key update threshold if the negotiated cipher is aegis

Reviewed By: mingtaoy

Differential Revision: D52673020

fbshipit-source-id: 11c8ab5a8dd2d18475e931cb24a036c3c28ec345
  • Loading branch information
Huilin Chen authored and facebook-github-bot committed Jan 19, 2024
1 parent ba14e4d commit b0c689c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions wangle/acceptor/FizzAcceptorHandshakeHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ AsyncFizzServer::UniquePtr FizzAcceptorHandshakeHelper::createFizzServer(
AsyncFizzServer::UniquePtr fizzServer(new AsyncFizzServer(
std::move(asyncTransport), fizzContext, extensions, options));
fizzServer->setHandshakeRecordAlignedReads(handshakeRecordAlignedReads_);
fizzServer->setRekeyAfterWriting(keyUpdateThreshold_);

return fizzServer;
}

Expand Down

0 comments on commit b0c689c

Please sign in to comment.