Allow ODKs to be tested against older versions for Qualcomm

Merged from go/wvgerrit/179770

Bug: 276889732
Test: oemcrypto tests
Change-Id: I5aec5f03c68847470900dfaf20c6fd324c7f8251
This commit is contained in:
Vicky Min
2023-07-27 17:24:12 +00:00
parent 948d422ff0
commit 5b378d5172

View File

@@ -792,9 +792,6 @@ void LicenseRoundTrip::FillAndVerifyCoreRequest(
// for L3 release only.
EXPECT_LE(3, core_request_.api_minor_version);
EXPECT_GE(5, core_request_.api_minor_version);
} else if (global_features.api_version == ODK_MAJOR_VERSION) {
// We do not expect older tests to work with a newer OEMCrypto.
EXPECT_GE(ODK_MINOR_VERSION, core_request_.api_minor_version);
}
if (expect_request_has_correct_nonce_) {
EXPECT_EQ(session()->nonce(), core_request_.nonce);