summaryrefslogtreecommitdiffstats
path: root/applypatch
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2013-04-10 11:32:17 -0700
committerDoug Zongker <dougz@android.com>2013-04-10 11:32:17 -0700
commitbac7fba02763ae5e78e8e4ba0bea727330ad953e (patch)
tree6056acf572fb45b4ff1ef2874b1d6373776a56c7 /applypatch
parent84a6c0d298f0606f7c27857b17115cbd362ad637 (diff)
downloadbootable_recovery-bac7fba02763ae5e78e8e4ba0bea727330ad953e.zip
bootable_recovery-bac7fba02763ae5e78e8e4ba0bea727330ad953e.tar.gz
bootable_recovery-bac7fba02763ae5e78e8e4ba0bea727330ad953e.tar.bz2
verifier: update to support certificates using SHA-256
Change-Id: Ifd5a29d459acf101311fa1c220f728c3d0ac2e4e
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 69f8633..259fa58 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;
}