projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f8808e
)
lib: rsa: superfluous initialization in rsa_verify()
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Thu, 8 Oct 2020 18:53:13 +0000
(20:53 +0200)
committer
Tom Rini
<trini@konsulko.com>
Tue, 13 Oct 2020 01:30:38 +0000
(21:30 -0400)
Remove initialization of ret with unused value.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/rsa/rsa-verify.c
patch
|
blob
|
history
diff --git
a/lib/rsa/rsa-verify.c
b/lib/rsa/rsa-verify.c
index b9c800c7dc113b09a9699cb84e103c937683d8cb..0ab0f629d0cb5730c8d41813a5216ea996c484fd 100644
(file)
--- a/
lib/rsa/rsa-verify.c
+++ b/
lib/rsa/rsa-verify.c
@@
-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