]> Cypherpunks.ru repositories - govpn.git/commitdiff
Use /dev/urandom for new client identity generation
authorSergey Matveev <stargrave@stargrave.org>
Wed, 13 May 2015 14:00:55 +0000 (17:00 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 13 May 2015 14:00:55 +0000 (17:00 +0300)
* FreeBSD has /dev/random and it never blocks, giving as much entropy as requested
* GNU/Linux has /dev/random can give shorter output
* /dev/urandom exists in both systems and never blocks

Signed-off-by: Sergey Matveev <stargrave@stargrave.org>

No differences found