Skip to content

Commit f4260df

Browse files
authored
Fix run time error during initilization (#37892)
1 parent 652f786 commit f4260df

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/camera-controller/commands/common/CHIPCommand.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ constexpr char kCDTrustStorePathVariable[] = "CAMERACONTROLLER_CD_TRUST_STO
5050

5151
const chip::Credentials::AttestationTrustStore * CHIPCommand::sTrustStore = nullptr;
5252
chip::Credentials::GroupDataProviderImpl CHIPCommand::sGroupDataProvider{ kMaxGroupsPerFabric, kMaxGroupKeysPerFabric };
53+
chip::Crypto::RawKeySessionKeystore CHIPCommand::sSessionKeystore;
5354

5455
namespace {
5556

@@ -109,6 +110,7 @@ CHIP_ERROR CHIPCommand::MaybeSetUpStack()
109110
factoryInitParams.operationalKeystore = &mOperationalKeystore;
110111
factoryInitParams.opCertStore = &mOpCertStore;
111112
factoryInitParams.enableServerInteractions = NeedsOperationalAdvertising();
113+
factoryInitParams.sessionKeystore = &sSessionKeystore;
112114
factoryInitParams.dataModelProvider = chip::app::CodegenDataModelProviderInstance(&mDefaultStorage);
113115

114116
// Init group data provider that will be used for all group keys and IPKs for the

0 commit comments

Comments
 (0)