projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
15181d7
)
Fix parameter error messages.
author
Dr. Stephen Henson
<steve@openssl.org>
Tue, 11 Apr 2006 18:30:25 +0000
(18:30 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Tue, 11 Apr 2006 18:30:25 +0000
(18:30 +0000)
apps/genpkey.c
patch
|
blob
|
history
diff --git
a/apps/genpkey.c
b/apps/genpkey.c
index 453dd500c085a150b36bc95576b16287ca0bd8e8..34432874e8c1dd59de569520820d6254261e10c7 100644
(file)
--- a/
apps/genpkey.c
+++ b/
apps/genpkey.c
@@
-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;
}
}