Changeset 45263 in vbox
- Timestamp:
- Mar 31, 2013 4:29:57 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 84652
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/posix/rand-posix.cpp
r43363 r45263 57 57 if ((size_t)cbRead != cb) 58 58 { 59 ssize_t cTries = RT_MIN(cb, 256); 59 /* S10 has been observed returning 1040 bytes at the time from /dev/urandom. 60 Which means we need to do than 256 rounds to reach 668171 bytes if 61 that's what demanded by the caller (like tstRTMemWipe.cpp). */ 62 ssize_t cTries = RT_MAX(256, cb / 64); 60 63 do 61 64 {
Note:
See TracChangeset
for help on using the changeset viewer.