[openssl-commits] [openssl] master update
Rich Salz
rsalz at openssl.org
Thu Jul 9 19:43:11 UTC 2015
The branch master has been updated
via 99dcd88035330d59ab40b5bc0f551aca7020cd30 (commit)
from 851fdda1a1952e482fc3f5f1c7c3acdff132bbae (commit)
- Log -----------------------------------------------------------------
commit 99dcd88035330d59ab40b5bc0f551aca7020cd30
Author: Peter Waltenberg <pwalten at au1.ibm.com>
Date: Thu Jul 9 14:57:30 2015 -0400
Exit on error in ecparam
Reviewed-by: Tim Hudson <tjh at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
apps/ecparam.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/apps/ecparam.c b/apps/ecparam.c
index a0781c5..8464c88 100644
--- a/apps/ecparam.c
+++ b/apps/ecparam.c
@@ -326,8 +326,9 @@ int ecparam_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");
}
More information about the openssl-commits
mailing list