summaryrefslogtreecommitdiffstats
path: root/lib/libmd/sha1c.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libmd/sha1c.c')
-rw-r--r--lib/libmd/sha1c.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libmd/sha1c.c b/lib/libmd/sha1c.c
index 97a6ceb..ba3278a 100644
--- a/lib/libmd/sha1c.c
+++ b/lib/libmd/sha1c.c
@@ -143,14 +143,15 @@ SHA_CTX *c;
}
void
-SHA1_Update(c, data, len)
+SHA1_Update(c, in, len)
SHA_CTX *c;
- const unsigned char *data;
+ const void *in;
size_t len;
{
u_int32_t *p;
int ew,ec,sw,sc;
u_int32_t l;
+ const unsigned char *data = in;
if (len == 0) return;
OpenPOWER on IntegriCloud