summaryrefslogtreecommitdiffstats
path: root/lib/libmd/sha1c.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1999-02-26 18:41:47 +0000
committerwollman <wollman@FreeBSD.org>1999-02-26 18:41:47 +0000
commitdb4b7a727b6b70ad291fe1dd62d4ce4b5ac85fcb (patch)
tree1bdd07fdb8f0374d02ad2a36e84752eb4c9babe0 /lib/libmd/sha1c.c
parent663aa4f0a8d13099acb684f0e521bc3698ffc0b8 (diff)
downloadFreeBSD-src-db4b7a727b6b70ad291fe1dd62d4ce4b5ac85fcb.zip
FreeBSD-src-db4b7a727b6b70ad291fe1dd62d4ce4b5ac85fcb.tar.gz
Add Eric Young's RIPEMD160 implementation as well, in case SHA-1
should prove weak. Also fix a few problems with the SHA-1 build.
Diffstat (limited to 'lib/libmd/sha1c.c')
-rw-r--r--lib/libmd/sha1c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libmd/sha1c.c b/lib/libmd/sha1c.c
index 60c0565..660cff9 100644
--- a/lib/libmd/sha1c.c
+++ b/lib/libmd/sha1c.c
@@ -143,7 +143,7 @@ void
SHA1_Update(c, data, len)
SHA_CTX *c;
const unsigned char *data;
- unsigned long len;
+ size_t len;
{
register u_int32_t *p;
int ew,ec,sw,sc;
OpenPOWER on IntegriCloud