aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-04-21 14:53:38 +0000
committerlloyd <[email protected]>2008-04-21 14:53:38 +0000
commit272a8523e3c19e1c297b335a316a335db6c7128d (patch)
treefe6d1114195ab16b16c6d3a90698b24fa7f63fb4
parent81edcee29ae2daabb385b41a5518e69ec1a8043b (diff)
Update Fixed_Output_RNG (used for testing) to implement is_seeded
-rw-r--r--checks/pk.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/checks/pk.cpp b/checks/pk.cpp
index f2c2401fd..478b57270 100644
--- a/checks/pk.cpp
+++ b/checks/pk.cpp
@@ -37,6 +37,8 @@ static BigInt to_bigint(const std::string& h)
class Fixed_Output_RNG : public RandomNumberGenerator
{
public:
+ bool is_seeded() const { return true; }
+
byte random()
{
if(position < output.size())