diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2009-07-13 05:30:15 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2009-07-13 05:30:15 +0000 |
commit | 52b76e132728a3a0e13436f09f10391aec3e259b (patch) | |
tree | 8034266eeceaa3f8301733562c746f4e853afb28 /devel/tcl-trf/files/patch-rmd128 | |
parent | - Update to 1.1.1 (diff) |
Resurrect this port from the Attic based on the new version from the
author. As before, we modify the author's code to use either OpenSSL's
-lcrypto or BSD's -lmd /directly/ instead of compiling the bundled
definitions digests.
We also link with -lz and -lbz2 instead of dlopen-ing them at run-time.
Notes
Notes:
svn path=/head/; revision=237667
Diffstat (limited to 'devel/tcl-trf/files/patch-rmd128')
-rw-r--r-- | devel/tcl-trf/files/patch-rmd128 | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/devel/tcl-trf/files/patch-rmd128 b/devel/tcl-trf/files/patch-rmd128 new file mode 100644 index 000000000000..6893203d6fd8 --- /dev/null +++ b/devel/tcl-trf/files/patch-rmd128 @@ -0,0 +1,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; |