diff options
author | Doug Zongker <dougz@android.com> | 2013-04-12 00:02:46 +0200 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-04-12 00:02:46 +0200 |
commit | c7a6858dc9d4e75c9c889890902141c4243228a7 (patch) | |
tree | 925c40d53373f1f7afa08a39090441bba463ab08 /updater | |
parent | am 4e21482d: Add liblog (diff) | |
parent | verifier: update to support certificates using SHA-256 (diff) | |
download | android_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 'updater')
-rw-r--r-- | updater/install.c | 2 |
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) { |