aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-12 20:31:07 +0000
committerlloyd <[email protected]>2010-10-12 20:31:07 +0000
commita6bfb4a4b118e347456e4c6c4dddbcb136f6ba13 (patch)
tree6c3d9679381a14a3c78f8b07e8f91c53dfed6d9f
parent21d94214fda80487b6119b15f530608ece5f597d (diff)
Update for RNG changes
-rw-r--r--checks/common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/checks/common.h b/checks/common.h
index 6b504c454..148b89d93 100644
--- a/checks/common.h
+++ b/checks/common.h
@@ -52,18 +52,18 @@ class Fixed_Output_RNG : public Botan::RandomNumberGenerator
return out;
}
- void reseed(u32bit) {}
+ void reseed(size_t) {}
- void randomize(byte out[], u32bit len)
+ void randomize(byte out[], size_t len)
{
- for(u32bit j = 0; j != len; j++)
+ for(size_t j = 0; j != len; j++)
out[j] = random();
}
std::string name() const { return "Fixed_Output_RNG"; }
void add_entropy_source(Botan::EntropySource* src) { delete src; }
- void add_entropy(const byte[], u32bit) {};
+ void add_entropy(const byte[], size_t) {};
void clear() throw() {}