aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-28 00:54:38 +0000
committerlloyd <[email protected]>2008-06-28 00:54:38 +0000
commitadfc19b00668f641c07c89bd08452bd3099e99d2 (patch)
tree70c752f69965e68d01e499b8a6993c5312052595 /src
parentd9b7e74a4f2660d047cdf92a2af0ad99b319bcc1 (diff)
Change make_rng to be a static member of RandomNumberGenerator
Diffstat (limited to 'src')
-rw-r--r--src/rng.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rng.cpp b/src/rng.cpp
index 5b1bf6915..67205c3b2 100644
--- a/src/rng.cpp
+++ b/src/rng.cpp
@@ -70,7 +70,7 @@ byte RandomNumberGenerator::next_byte()
/*************************************************
* Create and seed a new RNG object *
*************************************************/
-RandomNumberGenerator* make_rng()
+RandomNumberGenerator* RandomNumberGenerator::make_rng()
{
Randpool* randpool = new Randpool("AES-256", "HMAC(SHA-256)");