diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-04-12 11:14:11 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-04-12 11:14:11 +0000 |
commit | 75ef718820c44d8eb5efd98425c64b584ce2f5d5 (patch) | |
tree | 4029c8caabc08cd7b68ae404eb5aac9fbb58bf4e /apps | |
parent | c927df3fa19a2afda7bbacefbb366f7382b5269b (diff) |
Support for DSA keygen, fix for genpkey.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/genpkey.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/genpkey.c b/apps/genpkey.c index 34432874e8..9a58b64e92 100644 --- a/apps/genpkey.c +++ b/apps/genpkey.c @@ -87,7 +87,7 @@ int MAIN(int argc, char **argv) int badarg = 0; int ret = 1; - int do_param = -1; + int do_param = 0; if (bio_err == NULL) bio_err = BIO_new_fp (stderr, BIO_NOCLOSE); @@ -147,8 +147,6 @@ int MAIN(int argc, char **argv) { if (!args[1]) goto bad; - if (do_param == -1) - do_param = 0; if (!init_gen_str(bio_err, &ctx, *(++args),e, do_param)) goto end; } |