command: digest/hashsum: set key at command level
and only set the key when specified

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent e49a47f commit 5afec9c781406a0aa3080c9aacb17c3f75abc0aa
@Jean-Christophe PLAGNIOL-VILLARD Jean-Christophe PLAGNIOL-VILLARD authored on 25 Mar 2015
Sascha Hauer committed on 27 Mar 2015
Showing 3 changed files
View
commands/digest.c
View
commands/hashsum.c
View
commands/internal.h