Exit on error in ecparam
Reviewed-by: Tim Hudson <tjh@openssl.org> (cherry picked from commit 99dcd88035330d59ab40b5bc0f551aca7020cd30)
This commit is contained in:
parent
a15ba3cca3
commit
b5e972fdd3
@ -419,7 +419,8 @@ int MAIN(int argc, char **argv)
|
|||||||
if (!EC_GROUP_check(group, NULL)) {
|
if (!EC_GROUP_check(group, NULL)) {
|
||||||
BIO_printf(bio_err, "failed\n");
|
BIO_printf(bio_err, "failed\n");
|
||||||
ERR_print_errors(bio_err);
|
ERR_print_errors(bio_err);
|
||||||
} else
|
goto end;
|
||||||
|
}
|
||||||
BIO_printf(bio_err, "ok\n");
|
BIO_printf(bio_err, "ok\n");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user