diff options
Diffstat (limited to 'apps/ec.c')
-rw-r--r-- | apps/ec.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -205,7 +205,9 @@ int ec_main(int argc, char **argv) } } argc = opt_num_rest(); - argv = opt_rest(); + if (argc != 0) + goto opthelp; + private = param_out || pubin || pubout ? 0 : 1; if (text && !pubin) private = 1; |