From 4fc3c57bb0a1c4699e09d576ce23ad809b038106 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Thu, 7 Jun 2018 12:09:57 +0200 Subject: [PATCH] add forgotten usign_v sigfile parameter Signed-off-by: Daniel Golle This work was sponsored by WIO (wiowireless.com) --- usign-exec.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usign-exec.c b/usign-exec.c index bed3db7..9112988 100644 --- a/usign-exec.c +++ b/usign-exec.c @@ -30,6 +30,11 @@ int usign_v(const char *msgfile, const char *pubkeyfile, usign_argv[usign_argc++] = pubkeydir; } + if (sigfile) { + usign_argv[usign_argc++] = "-x"; + usign_argv[usign_argc++] = sigfile; + } + pid = fork(); switch (pid) { case -1: -- 2.25.1