Fix parameter error messages.
This commit is contained in:
parent
15181d7811
commit
2fbe371f53
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue