From 12a1ae86a8d80f93f551f7647c70509a24e591d6 Mon Sep 17 00:00:00 2001 From: Remco Rijnders Date: Wed, 16 Sep 2015 11:49:53 +0200 Subject: [PATCH] Clean up md5.c function declarations --- src/md5.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/md5.c b/src/md5.c index ffcf87c..e0f1f57 100644 --- a/src/md5.c +++ b/src/md5.c @@ -51,8 +51,7 @@ * QUESTION: Replace this with SHA, which as generally received better * reviews from the cryptographic community? */ -void MD5Init (buf) - u_int32_t buf[4]; +void MD5Init (u_int32_t buf[4]) { buf[0] = 0x67452301; buf[1] = 0xefcdab89; @@ -76,9 +75,7 @@ void MD5Init (buf) * The core of the MD5 algorithm, this alters an existing MD5 hash to * reflect the addition of 16 longwords of new data. */ -void MD5Transform (buf, in) - u_int32_t buf[4]; - u_int32_t in[16]; +void MD5Transform (u_int32_t buf[4], u_int32_t in[16]) { u_int32_t a, b, c, d; -- 2.30.2