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

Commit 2f54846e authored by David Zeuthen's avatar David Zeuthen Committed by Cherrypicker Worker
Browse files

identity: Set testMode to false for RKP.

Bug: 283196184
Test: atest VtsHalIdentityTargetTest
(cherry picked from https://android-review.googlesource.com/q/commit:50001471e5c9acc8a07fd5abb9d8a08879fc3b98)
Merged-In: Iabe0f4cf14d96aa2cf48fac4709640495e4c522a
Change-Id: Iabe0f4cf14d96aa2cf48fac4709640495e4c522a
parent 29bcd80a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ optional<vector<vector<uint8_t>>> createFakeRemotelyProvisionedCertificateChain(
    ndkMacedPublicKey.macedKey = macedPublicKey.macedKey;

    vector<uint8_t> publicKeyBits;
    check_maced_pubkey(ndkMacedPublicKey, /*testMode=*/true, &publicKeyBits);
    check_maced_pubkey(ndkMacedPublicKey, /*testMode=*/false, &publicKeyBits);

    ::aidl::android::hardware::security::keymint::EVP_PKEY_Ptr publicKey;
    p256_pub_key(publicKeyBits, &publicKey);