aboutsummaryrefslogtreecommitdiffstats
path: root/apps/gendsa.c
diff options
context:
space:
mode:
authorRalf S. Engelschall <rse@openssl.org>1999-02-23 08:52:20 +0000
committerRalf S. Engelschall <rse@openssl.org>1999-02-23 08:52:20 +0000
commitf2f351ce9c9e8db53b0bb7bfd49bb71ad8e612d6 (patch)
tree4cc9ac683d450acfcf952c2fa40500c5c66d1492 /apps/gendsa.c
parent04fa4cb72122e29db2686b1390720b007e55b7c1 (diff)
downloadopenssl-f2f351ce9c9e8db53b0bb7bfd49bb71ad8e612d6.tar.gz
Fix usage message on gendsa:
1. The dsaparam argument is mandatory and not optional 2. Add a little text what this actually is: a filename
Diffstat (limited to 'apps/gendsa.c')
-rw-r--r--apps/gendsa.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/gendsa.c b/apps/gendsa.c
index 564a881ae6..311d95020b 100644
--- a/apps/gendsa.c
+++ b/apps/gendsa.c
@@ -137,7 +137,7 @@ char **argv;
if (dsaparams == NULL)
{
bad:
- BIO_printf(bio_err,"usage: gendsa [args] [dsaparams]\n");
+ BIO_printf(bio_err,"usage: gendsa [args] dsaparam-file\n");
BIO_printf(bio_err," -out file - output the key to 'file'\n");
#ifndef NO_DES
BIO_printf(bio_err," -des - encrypt the generated key with DES in cbc mode\n");
@@ -149,6 +149,8 @@ bad:
BIO_printf(bio_err," -rand file:file:...\n");
BIO_printf(bio_err," - load the file (or the files in the directory) into\n");
BIO_printf(bio_err," the random number generator\n");
+ BIO_printf(bio_err," dsaparam-file\n");
+ BIO_printf(bio_err," - a DSA parameter file as generated by the dsaparam command\n");
goto end;
}