summaryrefslogtreecommitdiffstats
path: root/commands/internal.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2015-03-25 12:56:12 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-27 07:49:37 +0100
commit5afec9c781406a0aa3080c9aacb17c3f75abc0aa (patch)
tree355be5f292a43c7923bd07e3715cff4087518d3b /commands/internal.h
parente49a47fba8bce3bc4457d7b5133d7366b99513e3 (diff)
downloadbarebox-5afec9c781406a0aa3080c9aacb17c3f75abc0aa.tar.gz
barebox-5afec9c781406a0aa3080c9aacb17c3f75abc0aa.tar.xz
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>
Diffstat (limited to 'commands/internal.h')
-rw-r--r--commands/internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/internal.h b/commands/internal.h
index 29cc656e9b..21d1408c91 100644
--- a/commands/internal.h
+++ b/commands/internal.h
@@ -1,3 +1,2 @@
-int __do_digest(struct digest *d, unsigned char *key, int keylen,
- unsigned char *sig,
+int __do_digest(struct digest *d, unsigned char *sig,
int argc, char *argv[]);