summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Shih <robertshih@google.com>2020-04-06 16:51:03 -0700
committerRobert Shih <robertshih@google.com>2020-04-06 16:53:55 -0700
commitbedb2d9ce3c183f6938f64f7a4a59c3827c73a3c (patch)
tree45b212326c7e2f9d791fe2a6e64b24bcaf882893
parenta2d2482aa1003692ba4a2d64144690c6ccc155b4 (diff)
downloadplatform_hardware_interfaces-bedb2d9ce3c183f6938f64f7a4a59c3827c73a3c.tar.gz
platform_hardware_interfaces-bedb2d9ce3c183f6938f64f7a4a59c3827c73a3c.tar.bz2
platform_hardware_interfaces-bedb2d9ce3c183f6938f64f7a4a59c3827c73a3c.zip
drm 1.3 vts: call signRSA with non-empty args
Bug: 153356263 Test: VtsHalDrmV1_3TargetTest Change-Id: If6c6e9f478458c004063cebc195e7e77084fc11d
-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) {