From f9049a58ed18b850c0b081ac9214eaffd59e3a95 Mon Sep 17 00:00:00 2001 From: Vicky Min Date: Wed, 1 May 2024 23:33:11 +0000 Subject: [PATCH] Update DecryptZeroSizeSubSample test to accept success or error Bug: 338010108 Merged from https://widevine-internal-review.googlesource.com/198002 Change-Id: I52c72a5c1a287e8556a243b6072faf23ce4bbdad (cherry picked from commit 8b806d128e450ab0bf9cba17e21b5ed5ff97c277) (cherry picked from commit 1c6ec56725f7bfec01790ab3f826d3f4a3387647) --- libwvdrmengine/oemcrypto/test/oemcrypto_decrypt_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libwvdrmengine/oemcrypto/test/oemcrypto_decrypt_test.cpp b/libwvdrmengine/oemcrypto/test/oemcrypto_decrypt_test.cpp index 10c32541..07a3e52a 100644 --- a/libwvdrmengine/oemcrypto/test/oemcrypto_decrypt_test.cpp +++ b/libwvdrmengine/oemcrypto/test/oemcrypto_decrypt_test.cpp @@ -548,7 +548,7 @@ TEST_P(OEMCryptoSessionTestsDecryptTests, DecryptZeroSizeSubSample) { ASSERT_NO_FATAL_FAILURE(LoadLicense()); ASSERT_NO_FATAL_FAILURE(MakeBuffers()); ASSERT_NO_FATAL_FAILURE(EncryptData()); - ASSERT_NO_FATAL_FAILURE(TestDecryptCENC()); + ASSERT_NO_FATAL_FAILURE(DecryptCENC()); } // There are probably no frames this small, but we should handle them anyway.