]> the.earth.li Git - onak.git/blobdiff - md5.c
Fix handling of other signature requirement
[onak.git] / md5.c
diff --git a/md5.c b/md5.c
index aec1921c7a1d54aa29f98bcdee8f5cf26f8313f6..45353e77734824b4da75eaa7bfcd72bb7d3d00dd 100644 (file)
--- a/md5.c
+++ b/md5.c
@@ -20,7 +20,7 @@
 
 /* Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.  */
 
-#include "config.h"
+#include "build-config.h"
 
 #include <sys/types.h>
 
@@ -54,10 +54,7 @@ static const unsigned char fillbuf[64] = { 0x80, 0 /* , 0, 0, ...  */ };
    It is assumed that LEN % 64 == 0.  */
 
 void
-md5_process_block (buffer, len, ctx)
-     const void *buffer;
-     size_t len;
-     struct md5_ctx *ctx;
+md5_process_block(const void *buffer, size_t len, struct md5_ctx *ctx)
 {
   uint32_t correct_words[16];
   const uint32_t *words = buffer;
@@ -231,9 +228,7 @@ md5_init(struct md5_ctx *ctx)
    IMPORTANT: On some systems it is required that RESBUF is correctly
    aligned for a 32 bits value.  */
 void
-md5_read_ctx (ctx, resbuf)
-    const struct md5_ctx *ctx;
-    void *resbuf;
+md5_read_ctx(const struct md5_ctx *ctx, void *resbuf)
 {
   ((uint32_t *) resbuf)[0] = SWAP (ctx->A);
   ((uint32_t *) resbuf)[1] = SWAP (ctx->B);