diff --git a/wolfcrypt/src/sp_int.c b/wolfcrypt/src/sp_int.c index 1b5cda87a..5869f69f3 100644 --- a/wolfcrypt/src/sp_int.c +++ b/wolfcrypt/src/sp_int.c @@ -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.