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

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

Merge "v3 APK verification: reset por signedData after verification."

parents 75bd78f9 6dbf837a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -477,6 +477,7 @@ public class ApkSignatureSchemeV3Verifier {
                    }
                }

                signedData.rewind();
                byte[] encodedCert = readLengthPrefixedByteArray(signedData);
                int signedSigAlgorithm = signedData.getInt();
                if (lastCert != null && lastSigAlgorithm != signedSigAlgorithm) {