From 678b3332db6c0e5872f1150bd3d716811bbe6e0e Mon Sep 17 00:00:00 2001 From: Vicky Min Date: Wed, 26 Jul 2023 22:40:31 +0000 Subject: [PATCH] Allow ODKs to be tested against older versions for Qualcomm Bug: 276889732 Merged from https://widevine-internal-review.googlesource.com/179801 (cherry picked from commit af81eefde596cf1644e5451b03230c77cfde410b) Change-Id: I7a99d3c3104f16898258785d17a9b9b7a2f53ad1 --- libwvdrmengine/oemcrypto/test/oec_session_util.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/libwvdrmengine/oemcrypto/test/oec_session_util.cpp b/libwvdrmengine/oemcrypto/test/oec_session_util.cpp index 095ed9aa..2c927e42 100644 --- a/libwvdrmengine/oemcrypto/test/oec_session_util.cpp +++ b/libwvdrmengine/oemcrypto/test/oec_session_util.cpp @@ -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);