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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/pk_keys.h b/include/pk_keys.h
index 36905e868..a44aa7c7c 100644
--- a/include/pk_keys.h
+++ b/include/pk_keys.h
@@ -20,7 +20,9 @@ class BOTAN_DLL Public_Key
virtual std::string algo_name() const = 0;
virtual OID get_oid() const;
- virtual bool check_key(bool) const { return true; }
+ virtual bool check_key(RandomNumberGenerator&, bool) const
+ { return true; }
+
virtual u32bit message_parts() const { return 1; }
virtual u32bit message_part_size() const { return 0; }
virtual u32bit max_input_bits() const = 0;