strongswan/src/libstrongswan/plugins/random
Tobias Brunner 35dbf8af7a random: Properly handle errors when reading from /dev/[u]random
If -1 was returned on the first call to read() `done` got SIZE_MAX
and the function returned TRUE even though no actual random data had
been allocated.

Fixes #1156.
2015-10-29 16:17:17 +01:00
..
Makefile.am plugins: Don't link with -rdynamic on Windows 2014-06-04 15:53:02 +02:00
random_plugin.c charon: Set CLOEXEC flag on daemon PID file and /dev/(u)random source FDs 2014-06-24 15:26:38 +02:00
random_plugin.h Implemented libstrongswan.plugins.random.strong_equals_true option 2013-11-16 00:11:40 +01:00
random_rng.c random: Properly handle errors when reading from /dev/[u]random 2015-10-29 16:17:17 +01:00
random_rng.h removed trailing spaces ([[:space:]]+$) 2009-09-04 13:46:09 +02:00