commit | 30362a6ad132cbafde82cc57293e00679d4f86c2 | [log] [tgz] |
---|---|---|
author | Doug Zongker <dougz@android.com> | Wed Apr 10 11:32:17 2013 -0700 |
committer | Kenny Root <kroot@google.com> | Wed Sep 25 10:11:46 2013 -0700 |
tree | 47f9585d4cd72de8a3fb935d8e8387763ce3a9b1 | |
parent | 5c4e1dac0bd8f31559bd50eec4343b7a17b7a976 [diff] |
verifier: update to support certificates using SHA-256 (cherry picked from commit bac7fba02763ae5e78e8e4ba0bea727330ad953e) Change-Id: I01c38d7fea088622a8b0bbf2c833fa2d969417af
diff --git a/applypatch/applypatch.c b/applypatch/applypatch.c index 0dcdce0..6b8da2a 100644 --- a/applypatch/applypatch.c +++ b/applypatch/applypatch.c
@@ -101,7 +101,7 @@ } } - SHA(file->data, file->size, file->sha1); + SHA_hash(file->data, file->size, file->sha1); return 0; }