提交 15181d78 编写于 作者: D Dr. Stephen Henson

Write parameters if -genparam option include.

上级 1edba211
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册