| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | make clang-format using clang-format-3.6 | Tatsuhiro Tsujikawa | 2015-12-27 | 1 | -2/+3 |
| | | |||||
| * | Comment getrandom code a bit | Nils Maier | 2015-03-18 | 1 | -1/+19 |
| | | |||||
| * | Handle linux getrandom returning EINTR on interrupts/signals | Nils Maier | 2015-02-07 | 1 | -2/+30 |
| | | | | | | | | Also handle ENOTSUP failures where aria2 was build with linux headers newer than the actual running kernel. Fixes GH-336 | ||||
| * | Revise getRandom facilities | Nils Maier | 2015-01-20 | 1 | -0/+50 |
| Use one of the following to provide random bytes: - Windows CryptGenRandom - Linux getrandom (syscall interface to urandom, without nasty corner cases such as file descriptor exhaustion or re-linked /dev/urandom) - std::device_random (C++ random device, which usually will be urandom) This also equalizes util::getRandom and SimpleRandomizer (the former will now use the latter) instead of having essentially two different PRNG interfaces with potentially different quality. Closes GH-320 | |||||
