mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-29 18:27:29 +02:00
Merge pull request #7225 from bandi13/fixStaticAnalysisError
Static analyzers complain that a->size is never initialized
This commit is contained in:
@ -4851,7 +4851,7 @@ static void _sp_init_size(sp_int* a, unsigned int size)
|
||||
#endif
|
||||
_sp_zero((sp_int*)am);
|
||||
|
||||
am->size = size;
|
||||
a->size = size;
|
||||
}
|
||||
|
||||
/* Initialize the multi-precision number to be zero with a given max size.
|
||||
|
Reference in New Issue
Block a user