Exit on error in ecparam
Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
parent
851fdda1a1
commit
99dcd88035
1 changed files with 3 additions and 2 deletions
|
@ -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");
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue