summaryrefslogtreecommitdiffstats
path: root/applypatch
diff options
context:
space:
mode:
authorKenny Root <kroot@android.com>2013-09-25 19:14:59 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-09-25 19:14:59 +0200
commit58c60900ac3682fab08f64373bdd1020713b48f7 (patch)
tree47f9585d4cd72de8a3fb935d8e8387763ce3a9b1 /applypatch
parentMerge "Update libpng API usage" (diff)
parentverifier: update to support certificates using SHA-256 (diff)
downloadandroid_bootable_recovery-58c60900ac3682fab08f64373bdd1020713b48f7.tar
android_bootable_recovery-58c60900ac3682fab08f64373bdd1020713b48f7.tar.gz
android_bootable_recovery-58c60900ac3682fab08f64373bdd1020713b48f7.tar.bz2
android_bootable_recovery-58c60900ac3682fab08f64373bdd1020713b48f7.tar.lz
android_bootable_recovery-58c60900ac3682fab08f64373bdd1020713b48f7.tar.xz
android_bootable_recovery-58c60900ac3682fab08f64373bdd1020713b48f7.tar.zst
android_bootable_recovery-58c60900ac3682fab08f64373bdd1020713b48f7.zip
Diffstat (limited to 'applypatch')
-rw-r--r--applypatch/applypatch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applypatch/applypatch.c b/applypatch/applypatch.c
index 0dcdce0b1..6b8da2a8a 100644
--- a/applypatch/applypatch.c
+++ b/applypatch/applypatch.c
@@ -101,7 +101,7 @@ int LoadFileContents(const char* filename, FileContents* file,
}
}
- SHA(file->data, file->size, file->sha1);
+ SHA_hash(file->data, file->size, file->sha1);
return 0;
}