aboutsummaryrefslogtreecommitdiffstats
path: root/include/pk_keys.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pk_keys.h')
-rw-r--r--include/pk_keys.h6
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;
};
/*************************************************