summaryrefslogtreecommitdiff
path: root/devel/tcl-trf/files/patch-rmd128
blob: 6893203d6fd84fe42cd62177ff2e571ccbf3759c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- generic/rmd128.c	2009-07-12 21:34:41.000000000 -0400
+++ generic/rmd128.c	2009-07-12 23:39:04.000000000 -0400
@@ -59,5 +59,5 @@
 static void MDrmd128_Start     _ANSI_ARGS_ ((VOID* context));
 static void MDrmd128_Update    _ANSI_ARGS_ ((VOID* context, unsigned int character));
-static void MDrmd128_UpdateBuf _ANSI_ARGS_ ((VOID* context, unsigned char* buffer, int bufLen));
+static void MDrmd128_UpdateBuf _ANSI_ARGS_ ((VOID* context, unsigned char* buffer, size_t bufLen));
 static void MDrmd128_Final     _ANSI_ARGS_ ((VOID* context, VOID* digest));
 static void CountLength  _ANSI_ARGS_ ((ripemd_context* ctx,
@@ -200,5 +200,5 @@
 VOID* context;
 unsigned char* buffer;
-int   bufLen;
+size_t   bufLen;
 {
   ripemd_context* ctx = (ripemd_context*) context;
@@ -277,5 +277,5 @@
 
 static void
-MDrmd128_Final (context, digest)
+MDrmd128_Final (digest, context)
 VOID* context;
 VOID* digest;