Skip to content

Commit ea1c287

Browse files
Mingtao Yangfacebook-github-bot
authored andcommitted
Change call sites to use fizz::DefaultFactory
Summary: As titled Reviewed By: zalecodez Differential Revision: D59617762 fbshipit-source-id: 120ba87a0c24e2a2f1b3f956342f9e3cb49e2ccc
1 parent 61a92ce commit ea1c287

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

proxygen/lib/transport/PersistentFizzPskCache.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
#pragma once
1010

11-
#include <fizz/backend/openssl/OpenSSLFactory.h>
1211
#include <fizz/client/PskCache.h>
1312
#include <fizz/client/PskSerializationUtils.h>
13+
#include <fizz/protocol/DefaultFactory.h>
1414
#include <fizz/protocol/Factory.h>
1515
#include <wangle/client/persistence/FilePersistentCache.h>
1616

@@ -28,7 +28,7 @@ class PersistentFizzPskCache : public fizz::client::PskCache {
2828
PersistentFizzPskCache(const std::string& filename,
2929
wangle::PersistentCacheConfig config,
3030
std::unique_ptr<fizz::Factory> factory =
31-
std::make_unique<fizz::openssl::OpenSSLFactory>())
31+
std::make_unique<::fizz::DefaultFactory>())
3232
: cache_(filename, std::move(config)), factory_(std::move(factory)) {
3333
}
3434

proxygen/lib/transport/PersistentQuicPskCache.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <proxygen/lib/transport/PersistentFizzPskCache.h>
1212

1313
#include <fizz/client/PskSerializationUtils.h>
14+
#include <fizz/protocol/DefaultFactory.h>
1415
#include <folly/Optional.h>
1516
#include <folly/json/dynamic.h>
1617
#include <quic/fizz/client/handshake/QuicPskCache.h>
@@ -35,7 +36,7 @@ class PersistentQuicPskCache : public quic::QuicPskCache {
3536
PersistentQuicPskCache(const std::string& filename,
3637
wangle::PersistentCacheConfig config,
3738
std::unique_ptr<fizz::Factory> factory =
38-
std::make_unique<fizz::openssl::OpenSSLFactory>());
39+
std::make_unique<::fizz::DefaultFactory>());
3940

4041
void setMaxPskUses(size_t maxUses);
4142

0 commit comments

Comments
 (0)