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

Unified Diff: nss/lib/freebl/sysrand.c

Issue 195763027: Update NSS to NSS_3_16_RC0. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Use the RTM tag Created 6 years, 9 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
« no previous file with comments | « nss/lib/freebl/rsapkcs.c ('k') | nss/lib/freebl/win_rand.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: nss/lib/freebl/sysrand.c
===================================================================
--- nss/lib/freebl/sysrand.c (revision 256695)
+++ nss/lib/freebl/sysrand.c (working copy)
@@ -8,7 +8,9 @@
#include "seccomon.h"
+#ifndef XP_WIN
static size_t rng_systemFromNoise(unsigned char *dest, size_t maxLen);
+#endif
#if defined(XP_UNIX) || defined(XP_BEOS)
#include "unix_rand.c"
@@ -20,6 +22,7 @@
#include "os2_rand.c"
#endif
+#ifndef XP_WIN
/*
* Normal RNG_SystemRNG() isn't available, use the system noise to collect
* the required amount of entropy.
@@ -43,4 +46,4 @@
}
return retBytes;
}
-
+#endif
« no previous file with comments | « nss/lib/freebl/rsapkcs.c ('k') | nss/lib/freebl/win_rand.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698