Merge branch 'ramkumarkoppu/patch-1' into develop
This commit is contained in:
commit
99d700bb7b
@ -20,7 +20,7 @@ int mp_init_copy (mp_int * a, mp_int * b)
|
||||
{
|
||||
int res;
|
||||
|
||||
if ((res = mp_init (a)) != MP_OKAY) {
|
||||
if ((res = mp_init_size (a, b->used)) != MP_OKAY) {
|
||||
return res;
|
||||
}
|
||||
return mp_copy (b, a);
|
||||
|
Loading…
Reference in New Issue
Block a user