diff options
Diffstat (limited to 'src/rw.cpp')
-rw-r--r-- | src/rw.cpp | 4 |
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) |