Skip to content
Browse files

updated pre-gen/mpi.c

  • Loading branch information...
1 parent 9f815fb commit 3ef7ba1b2ecac21d36576a42797b63c9583acf86 @sjaeckel sjaeckel committed Jul 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 pre_gen/mpi.c
View
2 pre_gen/mpi.c
@@ -5983,7 +5983,7 @@ int mp_prime_next_prime(mp_int *a, int t, int bbs_style)
/* is this prime? */
for (x = 0; x < t; x++) {
- mp_set(&b, ltm_prime_tab[t]);
+ mp_set(&b, ltm_prime_tab[x]);
if ((err = mp_prime_miller_rabin(a, &b, &res)) != MP_OKAY) {
goto LBL_ERR;
}

0 comments on commit 3ef7ba1

Please sign in to comment.
Something went wrong with that request. Please try again.