From 97cbd98bc5bb99bd1363ba1ae87074afcef926a4 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Sat, 13 Jul 2013 14:28:26 -0400 Subject: Compile fixes, integration of fast PRNG. --- node/RuntimeEnvironment.hpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'node/RuntimeEnvironment.hpp') diff --git a/node/RuntimeEnvironment.hpp b/node/RuntimeEnvironment.hpp index b39a584f..5f76c8ac 100644 --- a/node/RuntimeEnvironment.hpp +++ b/node/RuntimeEnvironment.hpp @@ -31,7 +31,6 @@ #include #include "Identity.hpp" #include "Condition.hpp" -#include "CMWC4096.hpp" namespace ZeroTier { @@ -42,6 +41,7 @@ class Switch; class Topology; class SysEnv; class Multicaster; +class CMWC4096; /** * Holds global state for an instance of ZeroTier::Node @@ -61,6 +61,7 @@ public: RuntimeEnvironment() : identity(), log((Logger *)0), + prng((CMWC4096 *)0), nc((NodeConfig *)0), demarc((Demarc *)0), multicaster((Multicaster *)0), @@ -78,13 +79,11 @@ public: // signal() to prematurely interrupt main loop wait Condition mainLoopWaitCondition; - // non-cryptographic fast PRNG - CMWC4096 prng; - Identity configAuthority; Identity identity; Logger *log; // may be null + CMWC4096 *prng; NodeConfig *nc; Demarc *demarc; Multicaster *multicaster; -- cgit v1.2.3