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:
a15ba3c
)
Exit on error in ecparam
author
Peter Waltenberg
<pwalten@au1.ibm.com>
Thu, 9 Jul 2015 18:57:30 +0000
(14:57 -0400)
committer
Rich Salz
<rsalz@openssl.org>
Thu, 9 Jul 2015 19:43:34 +0000
(15:43 -0400)
Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit
99dcd88035330d59ab40b5bc0f551aca7020cd30
)
apps/ecparam.c
patch
|
blob
|
history
diff --git
a/apps/ecparam.c
b/apps/ecparam.c
index 1f340a9b84e024bf1ba1cca9229fca01ba031e55..88ecbc079c83899fa4fe125002e0507eeb2c474b 100644
(file)
--- a/
apps/ecparam.c
+++ b/
apps/ecparam.c
@@
-419,8
+419,9
@@
int MAIN(int argc, char **argv)
if (!EC_GROUP_check(group, NULL)) {
BIO_printf(bio_err, "failed\n");
ERR_print_errors(bio_err);
- } else
- BIO_printf(bio_err, "ok\n");
+ goto end;
+ }
+ BIO_printf(bio_err, "ok\n");
}