diff options
Diffstat (limited to 'src/dl_group.cpp')
-rw-r--r-- | src/dl_group.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dl_group.cpp b/src/dl_group.cpp index 7ec591b15..0e37c197e 100644 --- a/src/dl_group.cpp +++ b/src/dl_group.cpp @@ -65,7 +65,7 @@ DL_Group::DL_Group(RandomNumberGenerator& rng, BigInt X; while(p.bits() != pbits || !is_prime(p, rng)) { - X = random_integer(rng, pbits); + X.randomize(rng, pbits); p = X - (X % (2*q) - 1); } } |