diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2018-07-05 17:45:40 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2018-07-06 10:40:28 +0200 |
commit | 420009e46ce7c0d97a2dc5e216ffce48dd7c0846 (patch) | |
tree | e65cbe9b0b622cbc6b6e7c3edcbbfcb921cbb535 /apt-inst/filelist.h | |
parent | a7b4dd425c10730b886f3ea0b2e045ee5015cfe5 (diff) |
Use cheaper entropy source for randomizing items to fetch
The random_device fails if not enough entropy is available. We do
not need high-quality entropy here, though, so let's switch to a
seed based on the current time in nanoseconds, XORed with the PID.
Diffstat (limited to 'apt-inst/filelist.h')
0 files changed, 0 insertions, 0 deletions