On systems with Linux kernel < 3.17, getentropy() and getrandom() may exist but return ENOSYS. Use /dev/urandom as a fallback to avoid a hard requirement on Linux kernel version. Fixes #512. Signed-off-by: Xi Ruoyao <xry111@xry111.site>
14 KiB
14 KiB