Fix parameter error messages.

This commit is contained in:
Dr. Stephen Henson 2006-04-11 18:30:25 +00:00
parent 15181d7811
commit 2fbe371f53

View file

@ -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;
}
}