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

Commit fdd6089a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "FRP: Use verifyChallenge instead of verify" into oc-mr1-dev

parents bd9884a3 b7d69321
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -625,8 +625,8 @@ public class SyntheticPasswordManager {
            PasswordData pwd = PasswordData.fromBytes(persistentData.payload);
            byte[] pwdToken = computePasswordToken(userCredential, pwd);

            GateKeeperResponse response = gatekeeper.verify(fakeUid(persistentData.userId),
                    pwd.passwordHandle, passwordTokenToGkInput(pwdToken));
            GateKeeperResponse response = gatekeeper.verifyChallenge(fakeUid(persistentData.userId),
                    0 /* challenge */, pwd.passwordHandle, passwordTokenToGkInput(pwdToken));
            return VerifyCredentialResponse.fromGateKeeperResponse(response);
        } else if (persistentData.type == PersistentData.TYPE_SP_WEAVER) {
            PasswordData pwd = PasswordData.fromBytes(persistentData.payload);