projects
/
oweals
/
ucert.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add forgotten usign_v sigfile parameter
[oweals/ucert.git]
/
usign-exec.c
diff --git
a/usign-exec.c
b/usign-exec.c
index bed3db7ee059ba14af797452eea609a4cfc3de5b..91129883d25ad332ed519b0c50e526709b1fc75c 100644
(file)
--- 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: