提交 ec71cc34 编写于 作者: H Heinrich Schuchardt 提交者: Tom Rini

lib: rsa: superfluous initialization in rsa_verify()

Remove initialization of ret with unused value.
Signed-off-by: NHeinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: NSimon Glass <sjg@chromium.org>
上级 3f8808eb
......@@ -545,7 +545,7 @@ int rsa_verify(struct image_sign_info *info,
{
/* Reserve memory for maximum checksum-length */
uint8_t hash[info->crypto->key_len];
int ret = -EACCES;
int ret;
/*
* Verify that the checksum-length does not exceed the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册