summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-10-12 21:58:51 -0700
committerThiago Macieira <thiago.macieira@intel.com>2017-11-11 08:10:58 +0000
commit4502999ff054f16aab1fdd99fbd9256b22ecadf9 (patch)
tree758114fb7bdffd9aaca01b30d796556104d7a9c2 /tests/auto/corelib/global
parent19b0ce5daa31e2ffebfcf2701143742302f1deb4 (diff)
QRandomGenerator: remove the per-thread buffer
Since we're adding a deterministic generator that inherently does not use syscalls, and people should really use that one by default, there is no point in optimizing the secure generator wrt syscalls. Besides, keeping the random data in memory for longer than needed is likely inadviseable. Change-Id: Ib17dde1a1dbb49a7bba8fffd14ed0871117fe930 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'tests/auto/corelib/global')
-rw-r--r--tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp b/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp
index 4b38d46317..e583766f21 100644
--- a/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp
+++ b/tests/auto/corelib/global/qrandomgenerator/tst_qrandomgenerator.cpp
@@ -119,7 +119,6 @@ void tst_QRandomGenerator::generate32_data()
QTest::addColumn<uint>("control");
QTest::newRow("default") << 0U;
#ifdef QT_BUILD_INTERNAL
- QTest::newRow("direct") << uint(SkipMemfill);
QTest::newRow("system") << uint(SkipHWRNG);
# ifdef HAVE_FALLBACK_ENGINE
QTest::newRow("fallback") << uint(SkipHWRNG | SkipSystemRNG);