diff --git a/identity/aidl/vts/Util.cpp b/identity/aidl/vts/Util.cpp index 4f5c121f95..ad9281c239 100644 --- a/identity/aidl/vts/Util.cpp +++ b/identity/aidl/vts/Util.cpp @@ -73,7 +73,7 @@ optional>> createFakeRemotelyProvisionedCertificateChain( ndkMacedPublicKey.macedKey = macedPublicKey.macedKey; vector 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);