Skip to content

Commit aea4912

Browse files
author
Jukka Laitinen
committed
Fix compilation of mp_prime_strong_lucas_selfridge
Wrong datatype of argument J passed to mp_kronecker Signed-off-by: Jukka Laitinen <[email protected]>
1 parent 42b3fb0 commit aea4912

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mp_prime_strong_lucas_selfridge.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ mp_err mp_prime_strong_lucas_selfridge(const mp_int *a, bool *result)
5252
{
5353
/* CZ TODO: choose better variable names! */
5454
mp_int Dz, gcd, Np1, Uz, Vz, U2mz, V2mz, Qmz, Q2mz, Qkdz, T1z, T2z, T3z, T4z, Q2kdz;
55-
int32_t D, Ds, J, sign, P, Q, r, s, u, Nbits;
55+
int J;
56+
int32_t D, Ds, sign, P, Q, r, s, u, Nbits;
5657
mp_err err;
5758
bool oddness;
5859

0 commit comments

Comments
 (0)