summaryrefslogtreecommitdiff
path: root/src/websockets/qwebsocket.cpp
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-10-24 20:46:22 -0700
committerLars Knoll <lars.knoll@qt.io>2017-11-03 09:13:15 +0000
commit7e853bcd05cbc955b71843586ee20158e6ed3091 (patch)
treef14dab1b66b35eb1f42925346a7d76afea296b20 /src/websockets/qwebsocket.cpp
parenta99beb2c7b5867aac0e5ae997042cc88c0f6a175 (diff)
downloadqtwebsockets-7e853bcd05cbc955b71843586ee20158e6ed3091.tar.gz
Update to new QRandomGenerator APIv5.10.0-beta4
Change-Id: I69f37f9304f24709a823fffd14e676c097712329 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io> Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/websockets/qwebsocket.cpp')
-rw-r--r--src/websockets/qwebsocket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/websockets/qwebsocket.cpp b/src/websockets/qwebsocket.cpp
index 30bb39d..de5ac22 100644
--- a/src/websockets/qwebsocket.cpp
+++ b/src/websockets/qwebsocket.cpp
@@ -64,7 +64,7 @@
this problem is to use WebSocket over a secure connection.
\warning To generate masks, this implementation of WebSockets uses the reasonably
- secure QRandomGenerator::get32() function.
+ secure QRandomGenerator::global()->generate() function.
For more information about the importance of good masking,
see \l {"Talking to Yourself for Fun and Profit" by Lin-Shung Huang et al}.
The best measure against attacks mentioned in the document above,