summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qrandom_p.h
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 /src/corelib/global/qrandom_p.h
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 'src/corelib/global/qrandom_p.h')
-rw-r--r--src/corelib/global/qrandom_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/global/qrandom_p.h b/src/corelib/global/qrandom_p.h
index 6ac2904e1b..525a73cce4 100644
--- a/src/corelib/global/qrandom_p.h
+++ b/src/corelib/global/qrandom_p.h
@@ -56,7 +56,6 @@
QT_BEGIN_NAMESPACE
enum QRandomGeneratorControl {
- SkipMemfill = 1,
SkipSystemRNG = 2,
SkipHWRNG = 4,
SetRandomData = 8,