summaryrefslogtreecommitdiff
path: root/src/KM_util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-03-16 22:03:56 +0100
committerCarl Hetherington <cth@carlh.net>2024-03-21 20:29:50 +0100
commit067ac061ce1ade925d64a7c411403455e97d1c38 (patch)
tree4bc30038195fa9a8a0c7b2f4987664ca2eeb9ea8 /src/KM_util.h
parent4898f9d60bc621cb464faa00fb50146495d76928 (diff)
Add hacks for predictable random number and timestamp generation.
Diffstat (limited to 'src/KM_util.h')
-rwxr-xr-xsrc/KM_util.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/KM_util.h b/src/KM_util.h
index 9dcf846..a6b2de7 100755
--- a/src/KM_util.h
+++ b/src/KM_util.h
@@ -40,6 +40,8 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
namespace Kumu
{
+ extern bool dcpomatic_test;
+
// The version number declaration and explanation are in ../configure.ac
const char* Version();
@@ -421,7 +423,9 @@ 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