diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-12-20 00:48:45 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-12-20 00:48:45 +0000 |
commit | a26e02f9225bf32c01e034b7175899c02f58ffcf (patch) | |
tree | 3d663eb5ae18eaf1317e65ded6ffc6f4fe78d26c /net-misc/dropbear/files | |
parent | unleash uclibc-0.9.28 (diff) | |
download | historical-a26e02f9225bf32c01e034b7175899c02f58ffcf.tar.gz historical-a26e02f9225bf32c01e034b7175899c02f58ffcf.tar.bz2 historical-a26e02f9225bf32c01e034b7175899c02f58ffcf.zip |
dont sleep
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); |