Exit on error in ecparam

Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
Peter Waltenberg 2015-07-09 14:57:30 -04:00 committed by Rich Salz
parent 851fdda1a1
commit 99dcd88035
1 changed files with 3 additions and 2 deletions

View File

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