mirror of
https://github.com/facebookincubator/mvfst.git
synced 2025-08-08 09:42:06 +03:00
Remove throws from CryptoFactory
Summary: Continuing the theme, removing them from the CryptoFactory and translating to Expected. Reviewed By: kvtsoy, jbeshay Differential Revision: D74676120 fbshipit-source-id: 715b497e68a4e3004811038cba479c443d5398fd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c088421ecf
commit
bf71d17f2c
@@ -105,7 +105,7 @@ class QuicTransportTest : public Test {
|
||||
.WillRepeatedly(
|
||||
Invoke([&](auto& buf, auto, auto) { return buf->clone(); }));
|
||||
transport_->getConnectionState().oneRttWriteCipher = std::move(aead);
|
||||
auto tempHeaderCipher = test::createNoOpHeaderCipher();
|
||||
auto tempHeaderCipher = test::createNoOpHeaderCipher().value();
|
||||
tempHeaderCipher->setDefaultKey();
|
||||
transport_->getConnectionState().oneRttWriteHeaderCipher =
|
||||
std::move(tempHeaderCipher);
|
||||
|
Reference in New Issue
Block a user