Write parameters if -genparam option include.
This commit is contained in:
parent
1edba2110f
commit
15181d7811
@ -255,7 +255,9 @@ int MAIN(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
if (outformat == FORMAT_PEM)
|
||||
if (do_param)
|
||||
PEM_write_bio_Parameters(out, pkey);
|
||||
else if (outformat == FORMAT_PEM)
|
||||
PEM_write_bio_PrivateKey(out, pkey, cipher, NULL, 0,
|
||||
NULL, pass);
|
||||
else if (outformat == FORMAT_ASN1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user