47bb0ca364
no binary change, fixes build on 64-bit machines
40 lines
886 B
Plaintext
40 lines
886 B
Plaintext
$OpenBSD: patch-crypto_c,v 1.1 2005/09/08 05:05:16 pvalchev Exp $
|
|
--- crypto.c.orig Wed Sep 7 18:22:23 2005
|
|
+++ crypto.c Wed Sep 7 18:22:58 2005
|
|
@@ -60,7 +60,7 @@
|
|
* bits.
|
|
*/
|
|
|
|
-void md4lite(char *message, unsigned int len)
|
|
+void md4lite(char *message, size_t len)
|
|
{
|
|
|
|
#ifndef HAVE_MD4
|
|
@@ -92,7 +92,7 @@ void md4lite(char *message, unsigned int
|
|
* bits.
|
|
*/
|
|
|
|
-void md5lite(char *message, unsigned int len)
|
|
+void md5lite(char *message, size_t len)
|
|
{
|
|
|
|
#ifndef HAVE_MD5
|
|
@@ -124,7 +124,7 @@ void md5lite(char *message, unsigned int
|
|
* into 64 bits.
|
|
*/
|
|
|
|
-void rmd160lite(char *message, unsigned int len)
|
|
+void rmd160lite(char *message, size_t len)
|
|
{
|
|
|
|
#ifndef HAVE_RMD160
|
|
@@ -175,7 +175,7 @@ void rmd160lite(char *message, unsigned
|
|
* into 64 bits.
|
|
*/
|
|
|
|
-void sha1lite(char *message, unsigned int len)
|
|
+void sha1lite(char *message, size_t len)
|
|
{
|
|
|
|
#ifndef HAVE_SHA1
|