diff options
Diffstat (limited to 'net-misc/dropbear/files')
-rw-r--r-- | net-misc/dropbear/files/dropbear-0.45-urandom.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net-misc/dropbear/files/dropbear-0.45-urandom.patch b/net-misc/dropbear/files/dropbear-0.45-urandom.patch index e45c1ef599d9..21e306f521f6 100644 --- a/net-misc/dropbear/files/dropbear-0.45-urandom.patch +++ b/net-misc/dropbear/files/dropbear-0.45-urandom.patch @@ -40,7 +40,7 @@ diff -ur dropbear-0.45.orig/random.c dropbear-0.45/random.c + if (readlen < 0 && errno == EAGAIN) { + ++readtries; + if (readtries < 5) { -+ sleep(1); ++ sleep(0); + continue; + } else if (readtries == 5) { + close (readfd); |