aboutsummaryrefslogtreecommitdiffstats
path: root/include/rw.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-05-24 18:47:11 +0000
committerlloyd <[email protected]>2008-05-24 18:47:11 +0000
commitc4bad5476b30811ad51b1edd3bd873864d423c07 (patch)
tree94679d6cee3a38da1d64b8f5f671986566ac8a18 /include/rw.h
parentebc67ae27481549a152858f24fff4a7a82ad4e51 (diff)
Avoid using the global RNG in check_key, instead pass a reference.
Update the examples
Diffstat (limited to 'include/rw.h')
-rw-r--r--include/rw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rw.h b/include/rw.h
index 6ccc2b10d..0d22711df 100644
--- a/include/rw.h
+++ b/include/rw.h
@@ -37,7 +37,7 @@ class BOTAN_DLL RW_PrivateKey : public RW_PublicKey,
public:
SecureVector<byte> sign(const byte[], u32bit) const;
- bool check_key(bool) const;
+ bool check_key(RandomNumberGenerator& rng, bool) const;
RW_PrivateKey() {}
RW_PrivateKey(const BigInt&, const BigInt&, const BigInt&,