From: Daniel Golle Date: Thu, 7 Jun 2018 10:09:57 +0000 (+0200) Subject: add forgotten usign_v sigfile parameter X-Git-Url: https://git.librecmc.org/?p=oweals%2Fucert.git;a=commitdiff_plain;h=4fc3c57bb0a1c4699e09d576ce23ad809b038106 add forgotten usign_v sigfile parameter Signed-off-by: Daniel Golle This work was sponsored by WIO (wiowireless.com) --- 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: