Patches for testing to allow predictable random number and date generation.
[asdcplib.git] / src / KM_util.h
index 4834891a3499e17a248e2d43726b2104f475a3ec..fd086de269669190f44d94bc54460cd6705f5d7e 100755 (executable)
@@ -40,6 +40,8 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 namespace Kumu
 {
+  extern bool cth_test;
+
   // The version number declaration and explanation are in ../configure.ac
   const char* Version();
 
@@ -378,7 +380,8 @@ namespace Kumu
   
   void GenRandomUUID(byte_t* buf); // buf must be UUID_Length or longer
   void GenRandomValue(UUID&);
-  
+  void ResetTestRNG();
+
   typedef ArchivableList<UUID> UUIDList;
 
   // a self-wiping key container