Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: nss/mozilla/security/nss/lib/freebl/unix_rand.c

Issue 3135002: Update to NSS 3.12.7 and NSPR 4.8.6.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: nss/mozilla/security/nss/lib/freebl/unix_rand.c
===================================================================
--- nss/mozilla/security/nss/lib/freebl/unix_rand.c (revision 55475)
+++ nss/mozilla/security/nss/lib/freebl/unix_rand.c (working copy)
@@ -940,11 +940,13 @@
* BSD/OS we do not call safe_popen when we succeeded in getting data
* from /dev/urandom.
*
- * Bug 174993: LINUX provides /dev/urandom, don't fork netstat
- * if data has been gathered successfully
+ * Bug 174993: On platforms providing /dev/urandom, don't fork netstat
+ * either, if data has been gathered successfully.
*/
-#if defined(BSDI) || defined(LINUX)
+#if defined(BSDI) || defined(FREEBSD) || defined(NETBSD) \
+ || defined(OPENBSD) || defined(DARWIN) || defined(LINUX) \
+ || defined(HPUX)
if (bytes)
return;
#endif

Powered by Google App Engine
This is Rietveld 408576698