aboutsummaryrefslogtreecommitdiffstats
path: root/src/rw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/rw.cpp')
-rw-r--r--src/rw.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rw.cpp b/src/rw.cpp
index 425ab83b3..35e3bbf8d 100644
--- a/src/rw.cpp
+++ b/src/rw.cpp
@@ -115,9 +115,9 @@ SecureVector<byte> RW_PrivateKey::sign(const byte in[], u32bit len) const
/*************************************************
* Check Private Rabin-Williams Parameters *
*************************************************/
-bool RW_PrivateKey::check_key(bool strong) const
+bool RW_PrivateKey::check_key(RandomNumberGenerator& rng, bool strong) const
{
- if(!IF_Scheme_PrivateKey::check_key(strong))
+ if(!IF_Scheme_PrivateKey::check_key(rng, strong))
return false;
if(!strong)