summaryrefslogtreecommitdiffstats
path: root/admin/texttest.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/texttest.php')
-rw-r--r--admin/texttest.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/admin/texttest.php b/admin/texttest.php
index 0f7d1ad..12b26ea 100644
--- a/admin/texttest.php
+++ b/admin/texttest.php
@@ -43,6 +43,12 @@ function microtime_float()
// Drop $argv[0] (command name)
array_shift($argv);
+// Randomness source selection
+$t = array_search('--insecure-rand', $argv);
+if ($t !== false && $t !== null) {
+ define('Auth_OpenID_RAND_SOURCE', null);
+}
+
// ******** Math library selection ***********
$t = array_search('--no-math', $argv);