Source release 18.7.0
This commit is contained in:
@@ -90,6 +90,9 @@ TEST_F(OEMCryptoSessionTests, Provisioning_IncrementCounterAPI18) {
|
||||
// Test that successive calls to PrepAndSignLicenseRequest only increase
|
||||
// the license count in the ODK message
|
||||
TEST_F(OEMCryptoSessionTests, License_IncrementCounterAPI18) {
|
||||
if (OEMCrypto_SecurityLevel() == OEMCrypto_Level3) {
|
||||
GTEST_SKIP() << "L3 does not support license counter.";
|
||||
}
|
||||
Session s;
|
||||
s.open();
|
||||
LicenseRoundTrip license_messages(&s);
|
||||
@@ -132,6 +135,9 @@ TEST_F(OEMCryptoSessionTests, MasterGeneration_IncrementCounterAPI18) {
|
||||
GTEST_SKIP() << "Usage table not supported, so master generation number "
|
||||
"does not need to be checked.";
|
||||
}
|
||||
if (OEMCrypto_SecurityLevel() == OEMCrypto_Level3) {
|
||||
GTEST_SKIP() << "L3 does not support license counter.";
|
||||
}
|
||||
Session s1;
|
||||
s1.open();
|
||||
LicenseRoundTrip license_messages(&s1);
|
||||
|
||||
Reference in New Issue
Block a user