aboutsummaryrefslogtreecommitdiffstats
path: root/include/if_algo.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-27 14:29:33 +0000
committerlloyd <[email protected]>2008-06-27 14:29:33 +0000
commit34d5da54da524018580935da11525bd72b5a560e (patch)
tree398e07f035b4e72bf7a315f0d9f1e6e55b46795f /include/if_algo.h
parentd1bc1ae91003bc10b46b0d1e38f0ac64080b4c81 (diff)
Remove load checking, as it requires an RNG (at least at the moment).
Probably some variation of it will be added back in later, at least to do basic checks like that primes are really odd (and we can do basic primality checks, etc, even with an RNG). Alternative: call check_key() manually on public keys you load with an RNG object.
Diffstat (limited to 'include/if_algo.h')
-rw-r--r--include/if_algo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/if_algo.h b/include/if_algo.h
index eb94c7dfe..c5da4073e 100644
--- a/include/if_algo.h
+++ b/include/if_algo.h
@@ -26,9 +26,9 @@ class BOTAN_DLL IF_Scheme_PublicKey : public virtual Public_Key
u32bit max_input_bits() const { return (n.bits() - 1); }
X509_Encoder* x509_encoder() const;
- X509_Decoder* x509_decoder(RandomNumberGenerator&);
+ X509_Decoder* x509_decoder();
protected:
- virtual void X509_load_hook(RandomNumberGenerator&);
+ virtual void X509_load_hook();
BigInt n, e;
IF_Core core;
};