summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorDu Huanpeng <u74147@gmail.com>2016-04-21 19:30:28 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2016-04-21 15:17:52 +0200
commitfe03b34fbefab504ec352488e12b6d39413a1f32 (patch)
tree2855d128a0b60ece156ced7b7958888e89b2e858 /crypto
parent484a088f78a57b7341c190c78ef62df6a632754d (diff)
downloadbarebox-fe03b34fbefab504ec352488e12b6d39413a1f32.tar.gz
barebox-fe03b34fbefab504ec352488e12b6d39413a1f32.tar.xz
whole tree: remove trailing whitespaces
Signed-off-by: Du Huanpeng <u74147@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/digest.c2
-rw-r--r--crypto/sha2.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/crypto/digest.c b/crypto/digest.c
index 46600f246e..7a8c3c092d 100644
--- a/crypto/digest.c
+++ b/crypto/digest.c
@@ -77,7 +77,7 @@ int digest_generic_digest(struct digest *d, const void *data,
int digest_algo_register(struct digest_algo *d)
{
- if (!d || !d->base.name || !d->update || !d->final || !d->verify)
+ if (!d || !d->base.name || !d->update || !d->final || !d->verify)
return -EINVAL;
if (!d->init)
diff --git a/crypto/sha2.c b/crypto/sha2.c
index df566c8a4b..cb0f11c77e 100644
--- a/crypto/sha2.c
+++ b/crypto/sha2.c
@@ -13,7 +13,7 @@
*
* 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.
*
*/