summaryrefslogtreecommitdiffstats
path: root/otautil/verifier.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory leak in OTA verifier codeKelvin Zhang2022-05-251-1/+3
| | | | | | | | | | StartIteration() allocates some memory, which are release in EndIteration(). Since we never called EndIteration(), these memories are leaked. Test: th Bug: 233209345 Change-Id: I71c1d6eec16b8ac20c35e180f34fec50d0baec1a
* Fix wrong key indexes in package verification logs.Jacky Liu2021-12-291-3/+2
| | | | | | | | | If the verification fails with the key, 'continue' will be performed and the increment of the index at the end of the loop will be skipped. This CL fixes it. Test: check the log and see correct key indexes. Change-Id: I3d1b2b8b4189f5fedbf8828f5e8e0d0b2e277c6a
* Move package verifier from libinstall to libotautilJacky Liu2021-12-221-0/+472
So it can be used by device-specific codes. Bug: 184693830 Test: m; atest recovery_unit_test Change-Id: I5885334c1bd04214c9cc295f2337306261a1735c