aboutsummaryrefslogtreecommitdiffstats
path: root/src/nr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/nr.cpp')
-rw-r--r--src/nr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nr.cpp b/src/nr.cpp
index 53beb4056..7e76d67ad 100644
--- a/src/nr.cpp
+++ b/src/nr.cpp
@@ -26,7 +26,7 @@ NR_PublicKey::NR_PublicKey(const DL_Group& grp, const BigInt& y1)
void NR_PublicKey::X509_load_hook()
{
core = NR_Core(group, y);
- load_check();
+ load_check(global_state().prng_reference());
}
/*************************************************
@@ -88,9 +88,9 @@ void NR_PrivateKey::PKCS8_load_hook(bool generated)
core = NR_Core(group, y, x);
if(generated)
- gen_check();
+ gen_check(global_state().prng_reference());
else
- load_check();
+ load_check(global_state().prng_reference());
}
/*************************************************