Skip to content

Commit 16b40b2

Browse files
author
Andras Fekete
committed
Static analyzers complain that a->size is never initialized
1 parent 14830d0 commit 16b40b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wolfcrypt/src/sp_int.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4851,7 +4851,7 @@ static void _sp_init_size(sp_int* a, unsigned int size)
48514851
#endif
48524852
_sp_zero((sp_int*)am);
48534853

4854-
am->size = size;
4854+
a->size = size;
48554855
}
48564856

48574857
/* Initialize the multi-precision number to be zero with a given max size.

0 commit comments

Comments
 (0)