Bug 504611: backport the fix for bug 487567 for the NSS 3.12.3.1 release. NSS_3_12_3_MINIBRANCH
authorwtc%google.com
Tue, 28 Jul 2009 00:38:48 +0000
branchNSS_3_12_3_MINIBRANCH
changeset 9324 495cd46503a0c550aa5f0a1950c1501472fdd19d
parent 9323 43c47104742b2a663d1a5876a17218903b87ff5f
child 9327 03a97a75d1bba9f79ae8f9146de16656e94a2e13
child 9350 20f6d8fae24fba02dec2c2fe330c1dd44c4f149a
push idunknown
push userunknown
push dateunknown
bugs504611, 487567
Bug 504611: backport the fix for bug 487567 for the NSS 3.12.3.1 release. OS/2 cannot sign softokn3.dll after upgrade to nss-3.12.3 Patch contributed by Peter Weilbacher <mozilla@Weilbacher.org>, r=nelson Tag: NSS_3_12_3_MINIBRANCH
security/nss/lib/freebl/os2_rand.c
--- a/security/nss/lib/freebl/os2_rand.c
+++ b/security/nss/lib/freebl/os2_rand.c
@@ -364,10 +364,10 @@ static void rng_systemJitter(void)
     dwFileToRead++;
     if (dwFileToRead >= dwNumFiles) {
 	dwFileToRead = 0;
     }
 }
 
 size_t RNG_SystemRNG(void *dest, size_t maxLen)
 {
-    return rng_systemFromNoise(dest,maxlen);
+    return rng_systemFromNoise(dest,maxLen);
 }