aboutsummaryrefslogtreecommitdiffstats
path: root/src/pk/nr/nr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pk/nr/nr.cpp')
-rw-r--r--src/pk/nr/nr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pk/nr/nr.cpp b/src/pk/nr/nr.cpp
index 02919d52e..99eff9726 100644
--- a/src/pk/nr/nr.cpp
+++ b/src/pk/nr/nr.cpp
@@ -63,7 +63,7 @@ NR_PrivateKey::NR_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