2010-02-19 00:22:23

by Richard Hartmann

[permalink] [raw]
Subject: [PATCH 04/19] crypto: md5 - Fix checkpatch errors


Signed-off-by: Richard Hartmann <[email protected]>
---
crypto/md5.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/crypto/md5.c b/crypto/md5.c
index 83eb529..d7cc5f8 100644
--- a/crypto/md5.c
+++ b/crypto/md5.c
@@ -1,4 +1,4 @@
-/*
+/*
* Cryptographic API.
*
* MD5 Message Digest Algorithm (RFC1321).
@@ -8,10 +8,10 @@
*
* Copyright (c) Cryptoapi developers.
* Copyright (c) 2002 James Morris <[email protected]>
- *
+ *
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or (at your option)
+ * Software Foundation; either version 2 of the License, or (at your option)
* any later version.
*
*/
@@ -201,7 +201,7 @@ static int md5_final(struct shash_desc *desc, u8 *out)

*p++ = 0x80;
if (padding < 0) {
- memset(p, 0x00, padding + sizeof (u64));
+ memset(p, 0x00, padding + sizeof(u64));
md5_transform_helper(mctx);
p = (char *)mctx->block;
padding = 56;
--
1.6.6.1