diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-01-17 15:35:57 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2006-01-17 15:35:57 +0000 |
commit | 25a14196dd8e3f2483a0911237e5567986afae31 (patch) | |
tree | 101d4be37f349e17f665a23b1aa8744624569973 /lib/libmd/sha1c.c | |
parent | a1c10dcb4c58b6f8ea388bfd9448c1584e0cab4f (diff) | |
download | src-25a14196dd8e3f2483a0911237e5567986afae31.tar.gz src-25a14196dd8e3f2483a0911237e5567986afae31.zip |
Notes
Diffstat (limited to 'lib/libmd/sha1c.c')
-rw-r--r-- | lib/libmd/sha1c.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libmd/sha1c.c b/lib/libmd/sha1c.c index 97a6ceb77389..ba3278abfff4 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; |