summaryrefslogtreecommitdiffstats
path: root/verifier.h
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2018-10-25 19:40:28 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-10-25 19:40:28 +0200
commit23b832fd1d32b1385358729d9f2eae5465f3ebef (patch)
treecbdeff595a2fa616db60afe4ebff00ff0c0e50a6 /verifier.h
parentMerge "Add sanity check when loading public keys for OTA package" am: 6793f61795 (diff)
parentMerge "Remove the load_keys function" (diff)
downloadandroid_bootable_recovery-23b832fd1d32b1385358729d9f2eae5465f3ebef.tar
android_bootable_recovery-23b832fd1d32b1385358729d9f2eae5465f3ebef.tar.gz
android_bootable_recovery-23b832fd1d32b1385358729d9f2eae5465f3ebef.tar.bz2
android_bootable_recovery-23b832fd1d32b1385358729d9f2eae5465f3ebef.tar.lz
android_bootable_recovery-23b832fd1d32b1385358729d9f2eae5465f3ebef.tar.xz
android_bootable_recovery-23b832fd1d32b1385358729d9f2eae5465f3ebef.tar.zst
android_bootable_recovery-23b832fd1d32b1385358729d9f2eae5465f3ebef.zip
Diffstat (limited to 'verifier.h')
-rw-r--r--verifier.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/verifier.h b/verifier.h
index 944823293..df9a4b648 100644
--- a/verifier.h
+++ b/verifier.h
@@ -70,8 +70,6 @@ struct Certificate {
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);
-
// Checks that the RSA key has a modulus of 2048 bits long, and public exponent is 3 or 65537.
bool CheckRSAKey(const std::unique_ptr<RSA, RSADeleter>& rsa);