aboutsummaryrefslogtreecommitdiffstats
path: root/src/pk/dsa/dsa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pk/dsa/dsa.cpp')
-rw-r--r--src/pk/dsa/dsa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pk/dsa/dsa.cpp b/src/pk/dsa/dsa.cpp
index a7eb8e789..ef69a1ee5 100644
--- a/src/pk/dsa/dsa.cpp
+++ b/src/pk/dsa/dsa.cpp
@@ -64,7 +64,7 @@ DSA_PrivateKey::DSA_PrivateKey(RandomNumberGenerator& rng,
if(x == 0)
{
- x = random_integer(rng, 2, group_q() - 1);
+ x = BigInt::random_integer(rng, 2, group_q() - 1);
PKCS8_load_hook(rng, true);
}
else