summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2013-04-10 20:32:17 +0200
committerKenny Root <kroot@google.com>2013-09-25 19:11:46 +0200
commit30362a6ad132cbafde82cc57293e00679d4f86c2 (patch)
tree47f9585d4cd72de8a3fb935d8e8387763ce3a9b1 /updater
parentMerge "Update libpng API usage" (diff)
downloadandroid_bootable_recovery-30362a6ad132cbafde82cc57293e00679d4f86c2.tar
android_bootable_recovery-30362a6ad132cbafde82cc57293e00679d4f86c2.tar.gz
android_bootable_recovery-30362a6ad132cbafde82cc57293e00679d4f86c2.tar.bz2
android_bootable_recovery-30362a6ad132cbafde82cc57293e00679d4f86c2.tar.lz
android_bootable_recovery-30362a6ad132cbafde82cc57293e00679d4f86c2.tar.xz
android_bootable_recovery-30362a6ad132cbafde82cc57293e00679d4f86c2.tar.zst
android_bootable_recovery-30362a6ad132cbafde82cc57293e00679d4f86c2.zip
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 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) {