summaryrefslogtreecommitdiffstats
path: root/applypatch
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2013-04-12 00:02:46 +0200
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-04-12 00:02:46 +0200
commitc7a6858dc9d4e75c9c889890902141c4243228a7 (patch)
tree925c40d53373f1f7afa08a39090441bba463ab08 /applypatch
parentam 4e21482d: Add liblog (diff)
parentverifier: update to support certificates using SHA-256 (diff)
downloadandroid_bootable_recovery-c7a6858dc9d4e75c9c889890902141c4243228a7.tar
android_bootable_recovery-c7a6858dc9d4e75c9c889890902141c4243228a7.tar.gz
android_bootable_recovery-c7a6858dc9d4e75c9c889890902141c4243228a7.tar.bz2
android_bootable_recovery-c7a6858dc9d4e75c9c889890902141c4243228a7.tar.lz
android_bootable_recovery-c7a6858dc9d4e75c9c889890902141c4243228a7.tar.xz
android_bootable_recovery-c7a6858dc9d4e75c9c889890902141c4243228a7.tar.zst
android_bootable_recovery-c7a6858dc9d4e75c9c889890902141c4243228a7.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 69f8633ab..259fa581e 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;
}