Just in case someone just wants a single plain signature without any
chain.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This work was sponsored by WIO (wiowireless.com)
FILE *fs;
char filebuf[CERT_BUF_LEN];
struct blob_buf sigbuf;
- struct stat st;
int len;
int ret;
- if (stat(certfile, &st) != 0) {
- fprintf(stderr, "certfile %s doesn't exist, can't append.\n", certfile);
- return -1;
- }
-
fs = fopen(sigfile, "r");
if (!fs)
return 1;
fprintf(stderr,
"Usage: %s <command> <options>\n"
"Commands:\n"
- " -A: append (needs -c and -x)\n"
+ " -A: append signature (needs -c and -x)\n"
" -D: dump\n"
" -I: issue cert and revoker (needs -c and -p and -s)\n"
" -R: process revoker certificate (needs -c)\n"