diff options
author | lloyd <[email protected]> | 2008-05-24 18:47:11 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-05-24 18:47:11 +0000 |
commit | c4bad5476b30811ad51b1edd3bd873864d423c07 (patch) | |
tree | 94679d6cee3a38da1d64b8f5f671986566ac8a18 /include/rsa.h | |
parent | ebc67ae27481549a152858f24fff4a7a82ad4e51 (diff) |
Avoid using the global RNG in check_key, instead pass a reference.
Update the examples
Diffstat (limited to 'include/rsa.h')
-rw-r--r-- | include/rsa.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rsa.h b/include/rsa.h index 54ac50fad..16408c471 100644 --- a/include/rsa.h +++ b/include/rsa.h @@ -41,7 +41,7 @@ class BOTAN_DLL RSA_PrivateKey : public RSA_PublicKey, SecureVector<byte> decrypt(const byte[], u32bit) const; SecureVector<byte> sign(const byte[], u32bit) const; - bool check_key(bool) const; + bool check_key(RandomNumberGenerator& rng, bool) const; RSA_PrivateKey() {} RSA_PrivateKey(const BigInt&, const BigInt&, const BigInt&, |