lib: rsa: superfluous initialization in rsa_verify()
PATCH 1/1 lib: rsa: superfluous initialization in rsa_verify()
Remove initialization of ret with unused value.
Signed-off-by Heinrich Schuchardt <[email protected]>
--- lib/rsa/rsa-verify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/rsa/rsa-verify.c +1 -1
@@ -540,7 +540,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
--
2.28.0
PATCH 1/1 lib: rsa: superfluous initialization in rsa_verify()
Quoted 7 lines · Heinrich Schuchardt
Remove initialization of ret with unused value.
Signed-off-by Heinrich Schuchardt <[email protected]>--- lib/rsa/rsa-verify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Simon Glass <[email protected]>
PATCH 1/1 lib: rsa: superfluous initialization in rsa_verify()
In reply to Heinrich SchuchardtQuoted 4 lines · Heinrich Schuchardt
Remove initialization of ret with unused value.
Signed-off-by Heinrich Schuchardt <[email protected]>Reviewed-by Simon Glass <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201013/7baef586/attachment.sig>