Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bedb2d9c authored by Robert Shih's avatar Robert Shih
Browse files

drm 1.3 vts: call signRSA with non-empty args

Bug: 153356263
Test: VtsHalDrmV1_3TargetTest
Change-Id: If6c6e9f478458c004063cebc195e7e77084fc11d
parent a2d2482a
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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) {