- allow output of signature to stdout
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@660 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
5b40de43ed
commit
86a97c7e84
|
@ -285,10 +285,12 @@ int sign(struct sc_pkcs15_object *obj)
|
||||||
fprintf(stderr, "No input file specified.\n");
|
fprintf(stderr, "No input file specified.\n");
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
if (opt_output == NULL) {
|
if (opt_output == NULL) {
|
||||||
fprintf(stderr, "No output file specified.\n");
|
fprintf(stderr, "No output file specified.\n");
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
c = read_input(buf, sizeof(buf));
|
c = read_input(buf, sizeof(buf));
|
||||||
if (c < 0)
|
if (c < 0)
|
||||||
return 2;
|
return 2;
|
||||||
|
|
Loading…
Reference in New Issue