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

Commit 79059657 authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

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

am: 7a6ebe3d

Change-Id: I9091c6e2028fcc347d8f9f9efdd7bdf39fccc1b4
parents 6b24b4c5 7a6ebe3d
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);