reverse order of arguments to mp_clear_multi()
This commit is contained in:
parent
09133c9349
commit
a79a7eda65
@ -184,7 +184,7 @@ int mp_prime_frobenius_underwood(const mp_int *N, int *result)
|
||||
}
|
||||
|
||||
LBL_FU_ERR:
|
||||
mp_clear_multi(&T1z,&T2z,&Np1z,&sz,&tz, NULL);
|
||||
mp_clear_multi(&tz,&sz,&Np1z,&T2z,&T1z, NULL);
|
||||
return e;
|
||||
}
|
||||
|
||||
|
@ -401,7 +401,7 @@ int mp_prime_strong_lucas_selfridge(const mp_int *a, int *result)
|
||||
}
|
||||
}
|
||||
LBL_LS_ERR:
|
||||
mp_clear_multi(&Dz, &gcd, &Np1, &Uz, &Vz, &U2mz, &V2mz, &Qmz, &Q2mz, &Qkdz, &T1z, &T2z, &T3z, &T4z, &Q2kdz, NULL);
|
||||
mp_clear_multi(&Q2kdz, &T4z, &T3z, &T2z, &T1z, &Qkdz, &Q2mz, &Qmz, &V2mz, &U2mz, &Vz, &Uz, &Np1, &gcd, &Dz, NULL);
|
||||
return e;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user