diff options
Diffstat (limited to 'tools/firmware-utils/src/sha1.c')
-rw-r--r-- | tools/firmware-utils/src/sha1.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/firmware-utils/src/sha1.c b/tools/firmware-utils/src/sha1.c index 3ab1332992..40cc78ca08 100644 --- a/tools/firmware-utils/src/sha1.c +++ b/tools/firmware-utils/src/sha1.c @@ -225,8 +225,9 @@ void sha1_process( sha1_context *ctx, uchar data[64] ) ctx->state[4] += E; } -void sha1_update( sha1_context *ctx, uchar *input, uint length ) +void sha1_update( sha1_context *ctx, void *data, uint length ) { + uchar *input = data; ulong left, fill; if( ! length ) return; |