summaryrefslogtreecommitdiffstats
path: root/updater/install.c
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2013-04-10 20:32:17 +0200
committerDoug Zongker <dougz@android.com>2013-04-10 20:32:17 +0200
commitbac7fba02763ae5e78e8e4ba0bea727330ad953e (patch)
tree6056acf572fb45b4ff1ef2874b1d6373776a56c7 /updater/install.c
parentam b5bd4fb7: (-s ours) am 2f50df00: am c09444eb: am f91bd41c: am 1c302caf: (-s ours) am c14a7fbd: (-s ours) Reconcile with jb-mr1-release - do not merge (diff)
downloadandroid_bootable_recovery-bac7fba02763ae5e78e8e4ba0bea727330ad953e.tar
android_bootable_recovery-bac7fba02763ae5e78e8e4ba0bea727330ad953e.tar.gz
android_bootable_recovery-bac7fba02763ae5e78e8e4ba0bea727330ad953e.tar.bz2
android_bootable_recovery-bac7fba02763ae5e78e8e4ba0bea727330ad953e.tar.lz
android_bootable_recovery-bac7fba02763ae5e78e8e4ba0bea727330ad953e.tar.xz
android_bootable_recovery-bac7fba02763ae5e78e8e4ba0bea727330ad953e.tar.zst
android_bootable_recovery-bac7fba02763ae5e78e8e4ba0bea727330ad953e.zip
Diffstat (limited to '')
-rw-r--r--updater/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/install.c b/updater/install.c
index 19054236c..1fc4fd394 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) {