提交 99dcd880 编写于 作者: P Peter Waltenberg 提交者: Rich Salz

Exit on error in ecparam

Reviewed-by: NTim Hudson <tjh@openssl.org>
上级 851fdda1
......@@ -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");
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册