Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(876)

Unified Diff: src/platform/vboot_reference/crypto/sha1.c

Issue 572025: Make SHA* function prototypes consistent. (Closed)
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/platform/vboot_reference/include/sha.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/vboot_reference/crypto/sha1.c
diff --git a/src/platform/vboot_reference/crypto/sha1.c b/src/platform/vboot_reference/crypto/sha1.c
index d19a5a2d8b8a0a28fa672c809f8d56c7843d14c5..50f6bf6d58248732736849c81c9ba7298a834702 100644
--- a/src/platform/vboot_reference/crypto/sha1.c
+++ b/src/platform/vboot_reference/crypto/sha1.c
@@ -275,7 +275,7 @@ void SHA1_init(SHA1_CTX* ctx) {
ctx->count = 0;
}
-uint8_t* SHA1(const void *data, int len, uint8_t *digest) {
+uint8_t* SHA1(const uint8_t *data, int len, uint8_t *digest) {
const uint8_t *p;
int i;
SHA1_CTX ctx;
« no previous file with comments | « no previous file | src/platform/vboot_reference/include/sha.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698