projects
/
oweals
/
ucert.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
improve usage message and start working on revoker logic
[oweals/ucert.git]
/
usign-exec.c
diff --git
a/usign-exec.c
b/usign-exec.c
index d25f9b651e16e41dafc62ae792045bc094d80e27..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:
@@
-120,8
+125,6
@@
static int usign_f(char *fingerprint, const char *pubkeyfile, const char *seckey
return -1;
case 0:
- uloop_done();
-
dup2(fds[1], 1);
close(0);