提交 2fbe371f 编写于 作者: D Dr. Stephen Henson

Fix parameter error messages.

上级 15181d78
......@@ -242,7 +242,8 @@ int MAIN(int argc, char **argv)
{
if (EVP_PKEY_paramgen(ctx, &pkey) <= 0)
{
BIO_puts(bio_err, "Error generating key\n");
BIO_puts(bio_err, "Error generating parameters\n");
ERR_print_errors(bio_err);
goto end;
}
}
......@@ -251,6 +252,7 @@ int MAIN(int argc, char **argv)
if (EVP_PKEY_keygen(ctx, &pkey) <= 0)
{
BIO_puts(bio_err, "Error generating key\n");
ERR_print_errors(bio_err);
goto end;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册