verifier: update to support certificates using SHA-256

(cherry picked from commit bac7fba027)

Change-Id: I01c38d7fea088622a8b0bbf2c833fa2d969417af
This commit is contained in:
Doug Zongker
2013-04-10 11:32:17 -07:00
committed by Kenny Root
parent 5c4e1dac0b
commit 30362a6ad1
13 changed files with 254 additions and 109 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ really_install_package(const char *path, int* wipe_cache)
ui->Print("Opening update package...\n");
int numKeys;
RSAPublicKey* loadedKeys = load_keys(PUBLIC_KEYS_FILE, &numKeys);
Certificate* loadedKeys = load_keys(PUBLIC_KEYS_FILE, &numKeys);
if (loadedKeys == NULL) {
LOGE("Failed to load keys\n");
return INSTALL_CORRUPT;