summaryrefslogtreecommitdiffstats
path: root/apps/dsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dsa.c')
-rw-r--r--apps/dsa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/dsa.c b/apps/dsa.c
index 5ee97cf66b..79c6fb29b4 100644
--- a/apps/dsa.c
+++ b/apps/dsa.c
@@ -194,7 +194,9 @@ int dsa_main(int argc, char **argv)
}
}
argc = opt_num_rest();
- argv = opt_rest();
+ if (argc != 0)
+ goto opthelp;
+
private = pubin || pubout ? 0 : 1;
if (text && !pubin)
private = 1;