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:
@@ -792,9 +792,6 @@ void LicenseRoundTrip::FillAndVerifyCoreRequest(
|
|||||||
// for L3 release only.
|
// for L3 release only.
|
||||||
EXPECT_LE(3, core_request_.api_minor_version);
|
EXPECT_LE(3, core_request_.api_minor_version);
|
||||||
EXPECT_GE(5, 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_) {
|
if (expect_request_has_correct_nonce_) {
|
||||||
EXPECT_EQ(session()->nonce(), core_request_.nonce);
|
EXPECT_EQ(session()->nonce(), core_request_.nonce);
|
||||||
|
|||||||
Reference in New Issue
Block a user