Exit on error in ecparam

Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit 99dcd88035)
This commit is contained in:
Peter Waltenberg 2015-07-09 14:57:30 -04:00 committed by Rich Salz
parent a15ba3cca3
commit b5e972fdd3

View File

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