lib: rsa: cosmetic: fix building warning
add initialization of variable 'node',this can aviod the building warning: 'node' may be used uninitialized [-Wmaybe-uninitialized] Signed-off-by: Haijun Qin <qinhaijun@eswincomputing.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
46b2e5e92c
commit
dd02c66790
@ -608,7 +608,7 @@ int rsa_add_verify_data(struct image_sign_info *info, void *keydest)
|
|||||||
BIGNUM *modulus, *r_squared;
|
BIGNUM *modulus, *r_squared;
|
||||||
uint64_t exponent;
|
uint64_t exponent;
|
||||||
uint32_t n0_inv;
|
uint32_t n0_inv;
|
||||||
int parent, node;
|
int parent, node = -FDT_ERR_NOTFOUND;
|
||||||
char name[100];
|
char name[100];
|
||||||
int ret;
|
int ret;
|
||||||
int bits;
|
int bits;
|
||||||
|
Loading…
Reference in New Issue
Block a user