projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openssl cms: add error message if operation option is missing
[openssl.git]
/
apps
/
cms.c
diff --git
a/apps/cms.c
b/apps/cms.c
index b2037b4df2bf4d53f22cf4d0206f938d191f28f6..2863a92eee863bdc5e0fdb31f78f70935861a945 100644
(file)
--- a/
apps/cms.c
+++ b/
apps/cms.c
@@
-640,6
+640,7
@@
int cms_main(int argc, char **argv)
goto opthelp;
}
} else if (!operation) {
+ BIO_printf(bio_err, "No operation option (-encrypt|-decrypt|-sign|-verify|...) specified.\n");
goto opthelp;
}