[PATCH] fixup! command: add hmac sum supportfor md5, sha1, sha224, sha256, sha384, sha512

Antony Pavlov antonynpavlov at gmail.com
Fri Mar 27 09:23:04 PDT 2015


---
 commands/hashsum.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/commands/hashsum.c b/commands/hashsum.c
index e2dc70e..8d3694f 100644
--- a/commands/hashsum.c
+++ b/commands/hashsum.c
@@ -36,7 +36,7 @@ static int do_hash(char *algo, int argc, char *argv[])
 	size_t keylen = 0;
 	int opt, ret;
 
-	while((opt = getopt(argc, argv, "h:")) > 0) {
+	while ((opt = getopt(argc, argv, "h:")) > 0) {
 		switch(opt) {
 		case 'h':
 			key = optarg;
-- 
2.1.4




More information about the barebox mailing list