summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Shih <robertshih@google.com>2020-04-08 19:57:52 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-04-08 19:57:52 +0000
commit9ef4f067ba9ccdac1a0c30c9e911b3385a4b793d (patch)
treef55a7e9c80b90a873ac79e28d3bff90b5c17fc1b
parent4c6e4c7ec4b1bc22662087f1dbb85948a33788db (diff)
parentbedb2d9ce3c183f6938f64f7a4a59c3827c73a3c (diff)
downloadplatform_hardware_interfaces-9ef4f067ba9ccdac1a0c30c9e911b3385a4b793d.tar.gz
platform_hardware_interfaces-9ef4f067ba9ccdac1a0c30c9e911b3385a4b793d.tar.bz2
platform_hardware_interfaces-9ef4f067ba9ccdac1a0c30c9e911b3385a4b793d.zip
Merge "drm 1.3 vts: call signRSA with non-empty args" into rvc-dev
-rw-r--r--drm/1.3/vts/functional/drm_hal_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/drm/1.3/vts/functional/drm_hal_test.cpp b/drm/1.3/vts/functional/drm_hal_test.cpp
index 738f5b28f6..0958c35869 100644
--- a/drm/1.3/vts/functional/drm_hal_test.cpp
+++ b/drm/1.3/vts/functional/drm_hal_test.cpp
@@ -39,10 +39,10 @@ TEST_P(DrmHalTestV1_3, SignRsaNotAllowed) {
}
// signRSA
- const hidl_vec<uint8_t>& sessionId{};
- const hidl_string& algorithm{};
- const hidl_vec<uint8_t>& message{};
- const hidl_vec<uint8_t>& wrappedKey{};
+ const hidl_vec<uint8_t>& sessionId{0};
+ const hidl_string& algorithm{"RSASSA-PSS-SHA1"};
+ const hidl_vec<uint8_t>& message{0};
+ const hidl_vec<uint8_t>& wrappedKey{0};
auto res = drmPlugin_->signRSA(
sessionId, algorithm, message, wrappedKey,
[&](StatusV1_0 status, const hidl_vec<uint8_t>& signature) {