Merge branch 'ramkumarkoppu/patch-1' into develop

This commit is contained in:
Steffen Jaeckel 2013-11-24 15:29:54 +01:00
commit 99d700bb7b

View File

@ -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);