diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-08-15 15:41:14 +0200 |
---|---|---|
committer | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2010-08-15 15:41:14 +0200 |
commit | bce2194900623248aa9e61af0355ca1e845b7efd (patch) | |
tree | c5cbbd91eedc644d4403eb6837b66d5b030ff282 /recipes/mozilla/firefox-3.0.4/random_to_urandom.diff | |
parent | 234edf53cf06ec9f663338695f4d29a1bbdd360c (diff) |
firefox: removed 3.0.* versions
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/mozilla/firefox-3.0.4/random_to_urandom.diff')
-rw-r--r-- | recipes/mozilla/firefox-3.0.4/random_to_urandom.diff | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/recipes/mozilla/firefox-3.0.4/random_to_urandom.diff b/recipes/mozilla/firefox-3.0.4/random_to_urandom.diff deleted file mode 100644 index f969752381..0000000000 --- a/recipes/mozilla/firefox-3.0.4/random_to_urandom.diff +++ /dev/null @@ -1,26 +0,0 @@ -# Component manager should not use /dev/random for generation ranodm numbers -# It cause hangs on embedding platforms,which does not have enough devices for generation required entropy -# Bug somewhere exists but it is very old -Index: nsprpub/pr/src/md/unix/uxrng.c -=================================================================== ---- mozilla/nsprpub/pr/src/md/unix/uxrng.c.orig -+++ mozilla/nsprpub/pr/src/md/unix/uxrng.c -@@ -144,17 +144,17 @@ - #include <sys/stat.h> - #include <fcntl.h> - - static int fdDevRandom; - static PRCallOnceType coOpenDevRandom; - - static PRStatus OpenDevRandom( void ) - { -- fdDevRandom = open( "/dev/random", O_RDONLY ); -+ fdDevRandom = open( "/dev/urandom", O_RDONLY ); - return((-1 == fdDevRandom)? PR_FAILURE : PR_SUCCESS ); - } /* end OpenDevRandom() */ - - static size_t GetDevRandom( void *buf, size_t size ) - { - int bytesIn; - int rc; - |