diff options
author | lloyd <[email protected]> | 2008-05-24 18:52:52 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-05-24 18:52:52 +0000 |
commit | f8078f5904fce5cbfd69516b175872496bdc2267 (patch) | |
tree | f2fb2ef681947328a64a13feddc3c256da6c4305 /include | |
parent | c4bad5476b30811ad51b1edd3bd873864d423c07 (diff) |
Pass a RNG reference to load_check and gen_check functions
Diffstat (limited to 'include')
-rw-r--r-- | include/pk_keys.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/pk_keys.h b/include/pk_keys.h index a44aa7c7c..fed96d37b 100644 --- a/include/pk_keys.h +++ b/include/pk_keys.h @@ -32,7 +32,7 @@ class BOTAN_DLL Public_Key virtual ~Public_Key() {} protected: - virtual void load_check() const; + virtual void load_check(RandomNumberGenerator&) const; }; /************************************************* @@ -44,8 +44,8 @@ class BOTAN_DLL Private_Key : public virtual Public_Key virtual class PKCS8_Encoder* pkcs8_encoder() const { return 0; } virtual class PKCS8_Decoder* pkcs8_decoder() { return 0; } protected: - void load_check() const; - void gen_check() const; + void load_check(RandomNumberGenerator&) const; + void gen_check(RandomNumberGenerator&) const; }; /************************************************* |