mirror of
https://github.com/clearml/dropbear
synced 2025-06-26 18:17:32 +00:00
Use Linux getrandom() to ensure random device is initialised
Remove old code warning about random device being not ready, /dev/random isn't used by default anyway.
This commit is contained in:
@@ -124,6 +124,10 @@
|
||||
#include <sys/uio.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_RANDOM_H
|
||||
#include <sys/random.h>
|
||||
#endif
|
||||
|
||||
#ifdef BUNDLED_LIBTOM
|
||||
#include "libtomcrypt/src/headers/tomcrypt.h"
|
||||
#include "libtommath/tommath.h"
|
||||
|
||||
Reference in New Issue
Block a user