Fix certificate_provisioning_unittest after KDF change

KDF change: ag/26339839

Bug: 299527712
Change-Id: Ibfff3c13b10615e71f60fc69a811a3119881ea80
This commit is contained in:
Robert Shih
2024-02-23 10:36:21 -08:00
parent 649640709f
commit fc8d793682

View File

@@ -201,7 +201,7 @@ class MockCryptoSession : public TestCryptoSession {
MOCK_METHOD(CdmSecurityLevel, GetSecurityLevel, (), (override)); MOCK_METHOD(CdmSecurityLevel, GetSecurityLevel, (), (override));
MOCK_METHOD(CdmResponseType, LoadProvisioning, MOCK_METHOD(CdmResponseType, LoadProvisioning,
(const std::string&, const std::string&, const std::string&, (const std::string&, const std::string&, const std::string&,
std::string*), const std::string&, std::string*),
(override)); (override));
}; };
@@ -458,7 +458,7 @@ TEST_P(CertificateProvisioningTest, ProvisioningResponseSuccess) {
.WillByDefault(Return(kSecurityLevelL3)); .WillByDefault(Return(kSecurityLevelL3));
EXPECT_CALL(*crypto_session, LoadProvisioning) EXPECT_CALL(*crypto_session, LoadProvisioning)
.Times(1) .Times(1)
.WillOnce(DoAll(SetArgPointee<3>(kWrappedPrivateKey), .WillOnce(DoAll(SetArgPointee<4>(kWrappedPrivateKey),
Return(CdmResponseType(NO_ERROR)))); Return(CdmResponseType(NO_ERROR))));
MockFile* file = new MockFile(); MockFile* file = new MockFile();