diff options
author | Tao Bao <tbao@google.com> | 2017-03-21 20:09:37 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-21 20:09:37 +0100 |
commit | 43bd2c8414f44cb2ea79a7987c4401ef2eee28c7 (patch) | |
tree | 02d28a8f4945a978bbf449d058d5e9ee05236646 /verifier.h | |
parent | Merge "Add testcases for load_keys()." (diff) | |
parent | Merge "verify_file: Add constness to a few addresses." (diff) | |
download | android_bootable_recovery-43bd2c8414f44cb2ea79a7987c4401ef2eee28c7.tar android_bootable_recovery-43bd2c8414f44cb2ea79a7987c4401ef2eee28c7.tar.gz android_bootable_recovery-43bd2c8414f44cb2ea79a7987c4401ef2eee28c7.tar.bz2 android_bootable_recovery-43bd2c8414f44cb2ea79a7987c4401ef2eee28c7.tar.lz android_bootable_recovery-43bd2c8414f44cb2ea79a7987c4401ef2eee28c7.tar.xz android_bootable_recovery-43bd2c8414f44cb2ea79a7987c4401ef2eee28c7.tar.zst android_bootable_recovery-43bd2c8414f44cb2ea79a7987c4401ef2eee28c7.zip |
Diffstat (limited to 'verifier.h')
-rw-r--r-- | verifier.h | 2 |
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); |