Commit 15181d78 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Write parameters if -genparam option include.

parent 1edba211
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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)