summaryrefslogtreecommitdiffstats
path: root/commands/hashsum.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/hashsum.c')
-rw-r--r--commands/hashsum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/hashsum.c b/commands/hashsum.c
index 8d3694fa78..d05e571fb9 100644
--- a/commands/hashsum.c
+++ b/commands/hashsum.c
@@ -46,7 +46,7 @@ static int do_hash(char *algo, int argc, char *argv[])
}
if (key) {
- char *tmp = asprintf("hmac(%s)", algo);
+ char *tmp = basprintf("hmac(%s)", algo);
d = digest_alloc(tmp);
free(tmp);
BUG_ON(!d);