diff options
author | Linus Nordberg <linus@nordberg.se> | 2000-04-04 11:06:22 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2000-04-04 11:06:22 +0200 |
commit | ee77e57299b363d5b606f8ce20c0fa8758ce2be1 (patch) | |
tree | b90b3173b8936a9f319d3bd5461d54c9169dc1df /randlc.c | |
parent | d5ba794638209e43103f41f150133a2678840440 (diff) | |
download | gmp-ee77e57299b363d5b606f8ce20c0fa8758ce2be1.tar.gz |
Allocate enough space for seed to hold any upcoming seed.
Diffstat (limited to 'randlc.c')
-rw-r--r-- | randlc.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -39,6 +39,7 @@ gmp_rand_init_lc (s, a, c, m) #endif { mpz_init_set_ui (s->seed, 1); + _mpz_realloc (s->seed, ABSIZ (m)); /* Allocate algorithm specific data. */ s->data.lc = (__gmp_rand_data_lc *) |