mirror of
https://github.com/smaeul/u-boot.git
synced 2025-11-17 17:31:01 +00:00
lib: rsa: superfluous initialization in rsa_verify()
Remove initialization of ret with unused value. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
3f8808ebaa
commit
ec71cc34c1
@ -545,7 +545,7 @@ int rsa_verify(struct image_sign_info *info,
|
|||||||
{
|
{
|
||||||
/* Reserve memory for maximum checksum-length */
|
/* Reserve memory for maximum checksum-length */
|
||||||
uint8_t hash[info->crypto->key_len];
|
uint8_t hash[info->crypto->key_len];
|
||||||
int ret = -EACCES;
|
int ret;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Verify that the checksum-length does not exceed the
|
* Verify that the checksum-length does not exceed the
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user