aboutsummaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2013-04-10 11:32:17 -0700
committerDoug Zongker <dougz@android.com>2013-04-10 11:32:17 -0700
commitbac7fba02763ae5e78e8e4ba0bea727330ad953e (patch)
tree6056acf572fb45b4ff1ef2874b1d6373776a56c7 /updater
parent84a6c0d298f0606f7c27857b17115cbd362ad637 (diff)
downloadbootable_recovery-bac7fba02763ae5e78e8e4ba0bea727330ad953e.zip
bootable_recovery-bac7fba02763ae5e78e8e4ba0bea727330ad953e.tar.gz
bootable_recovery-bac7fba02763ae5e78e8e4ba0bea727330ad953e.tar.bz2
verifier: update to support certificates using SHA-256
Change-Id: Ifd5a29d459acf101311fa1c220f728c3d0ac2e4e
Diffstat (limited to 'updater')
-rw-r--r--updater/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/install.c b/updater/install.c
index 1905423..1fc4fd3 100644
--- a/updater/install.c
+++ b/updater/install.c
@@ -1057,7 +1057,7 @@ Value* Sha1CheckFn(const char* name, State* state, int argc, Expr* argv[]) {
return StringValue(strdup(""));
}
uint8_t digest[SHA_DIGEST_SIZE];
- SHA(args[0]->data, args[0]->size, digest);
+ SHA_hash(args[0]->data, args[0]->size, digest);
FreeValue(args[0]);
if (argc == 1) {