summaryrefslogtreecommitdiffstats
path: root/verifier.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-03-21 20:16:39 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-03-21 20:16:39 +0100
commit9d9f310f4ec3ab5c38b127a6886948571ca55666 (patch)
tree8da46ba9ab10ebc36c7252f8ccab10e6471bc0db /verifier.h
parentMerge "Add testcases for load_keys()." am: 110102f37e am: 43f5ad6e90 (diff)
parentMerge "verify_file: Add constness to a few addresses." am: 5b2bf90e13 (diff)
downloadandroid_bootable_recovery-9d9f310f4ec3ab5c38b127a6886948571ca55666.tar
android_bootable_recovery-9d9f310f4ec3ab5c38b127a6886948571ca55666.tar.gz
android_bootable_recovery-9d9f310f4ec3ab5c38b127a6886948571ca55666.tar.bz2
android_bootable_recovery-9d9f310f4ec3ab5c38b127a6886948571ca55666.tar.lz
android_bootable_recovery-9d9f310f4ec3ab5c38b127a6886948571ca55666.tar.xz
android_bootable_recovery-9d9f310f4ec3ab5c38b127a6886948571ca55666.tar.zst
android_bootable_recovery-9d9f310f4ec3ab5c38b127a6886948571ca55666.zip
Diffstat (limited to '')
-rw-r--r--verifier.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/verifier.h b/verifier.h
index 067dab554..6bee74947 100644
--- a/verifier.h
+++ b/verifier.h
@@ -65,7 +65,7 @@ struct Certificate {
* given keys. It optionally accepts a callback function for posting the progress to. Returns one
* of the constants of VERIFY_SUCCESS and VERIFY_FAILURE.
*/
-int verify_file(unsigned char* addr, size_t length, const std::vector<Certificate>& keys,
+int verify_file(const unsigned char* addr, size_t length, const std::vector<Certificate>& keys,
const std::function<void(float)>& set_progress = nullptr);
bool load_keys(const char* filename, std::vector<Certificate>& certs);