diff options
author | lloyd <[email protected]> | 2010-06-16 03:21:19 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-06-16 03:21:19 +0000 |
commit | 46086387b45c713a11001d8d037ffd280f5c56c3 (patch) | |
tree | 4aa4902391a732d8687ded5303b6e2dfa2b83db4 /src/pubkey/pk_keys.h | |
parent | 95d0a9033a979b0da9163bda4377c60049b432bd (diff) |
Require all PK keys implement check_key. Add for ECC keys.
Diffstat (limited to 'src/pubkey/pk_keys.h')
-rw-r--r-- | src/pubkey/pk_keys.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pubkey/pk_keys.h b/src/pubkey/pk_keys.h index e90fcf51a..b1036152d 100644 --- a/src/pubkey/pk_keys.h +++ b/src/pubkey/pk_keys.h @@ -40,8 +40,8 @@ class BOTAN_DLL Public_Key * of the test * @return true if the test is passed */ - virtual bool check_key(RandomNumberGenerator& rng, bool strong) const - { return true; } + virtual bool check_key(RandomNumberGenerator& rng, + bool strong) const = 0; /** * Find out the number of message parts supported by this scheme. |