summaryrefslogtreecommitdiffstats
path: root/lib/libmd
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1999-02-26 20:06:46 +0000
committerwollman <wollman@FreeBSD.org>1999-02-26 20:06:46 +0000
commit7810a0ea5a45f6d62932ef2f65c9127f4683098e (patch)
treef896c2f6511288d7b3d4d50899915672a7424a75 /lib/libmd
parent2c2e09fe901b540fa2fc4ec83bcd85b87468b0ad (diff)
downloadFreeBSD-src-7810a0ea5a45f6d62932ef2f65c9127f4683098e.zip
FreeBSD-src-7810a0ea5a45f6d62932ef2f65c9127f4683098e.tar.gz
Fixes for Alpha.
Submitted by: mjacob
Diffstat (limited to 'lib/libmd')
-rw-r--r--lib/libmd/rmd160c.c3
-rw-r--r--lib/libmd/sha0c.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/libmd/rmd160c.c b/lib/libmd/rmd160c.c
index 5f4d9cc..3cd6657 100644
--- a/lib/libmd/rmd160c.c
+++ b/lib/libmd/rmd160c.c
@@ -55,12 +55,13 @@
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*
- * $Id$
+ * $Id: rmd160c.c,v 1.1 1999/02/26 18:41:45 wollman Exp $
*/
#include <sys/types.h>
#include <stdio.h>
+#inlcude <string.h>
#if 0
#include <machine/ansi.h> /* we use the __ variants of bit-sized types */
diff --git a/lib/libmd/sha0c.c b/lib/libmd/sha0c.c
index 727bee3..29e1c78 100644
--- a/lib/libmd/sha0c.c
+++ b/lib/libmd/sha0c.c
@@ -55,7 +55,7 @@
* copied and put under another distribution licence
* [including the GNU Public Licence.]
*
- * $Id$
+ * $Id: sha0c.c,v 1.1 1999/02/26 04:24:56 wollman Exp $
*/
#include <sys/types.h>
@@ -117,7 +117,7 @@ SHA_CTX *c;
void SHA_Update(c, data, len)
SHA_CTX *c;
const unsigned char *data;
-u_int32_t len;
+size_t len;
{
register u_int32_t *p;
int ew,ec,sw,sc;
OpenPOWER on IntegriCloud