Update OTA Keybox tests

The rest of http://go/wvgerrit/135982

bug: 187646550
Change-Id: I120b817c1242a22c416625af67c6347b9efec10b
This commit is contained in:
Fred Gylys-Colwell
2021-12-07 03:28:24 +00:00
parent 1d43036592
commit 9ca983feb0

View File

@@ -82,12 +82,6 @@ TEST_F(CdmOtaKeyboxTest, BasicTest) {
FileSystem file_system;
TestCdmEngine cdm_engine(&file_system,
std::shared_ptr<EngineMetrics>(new EngineMetrics));
// Create a singleton crypto session to prevent OEMCrypto from being
// terminated. This is really only needed when running the test against the
// testbed OEMCrypto which does not save its keybox across init/terminate.
metrics::CryptoMetrics crypto_metrics;
std::unique_ptr<CryptoSession> crypto_session(
CryptoSession::MakeCryptoSession(&crypto_metrics));
// Remove any existing certificate.
cdm_engine.Unprovision(kSecurityLevelL1);
std::string system_id;