diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2015-04-21 20:55:15 -0500 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-07-20 21:52:34 +0000 |
commit | 91457fb326dda7bd1fc6d9e1b3afe0667425121c (patch) | |
tree | 935572434278cf9bad8f8e0beb18e78e6c59dd1f /scripting | |
parent | 5ede1d017cb6e602db699a1b2364f9708de441c8 (diff) |
use osl_get_system_random data in rtlRamdomPool
substitute as much as possible getting directly random data
from the system rather than mixing our own pseudo-random numbers
Fall back on the home-grown method if for some reason
system random does not work.
(on windows rand_s() is said to be able to return errors,
beyond EINVAL, but they are just not listed.. so who knows)
Change-Id: I71e88e097a9f3587086a710e9a785d61c560785e
Reviewed-on: https://gerrit.libreoffice.org/15474
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'scripting')
0 files changed, 0 insertions, 0 deletions