nelson%bolyard.com
95af4c9421
Bug 491044: Remove support for VMS (a.k.a., OpenVMS) from NSS, r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@257452 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-10 00:42:17 +00:00
wtc%google.com
014364d7bd
Bug 457045: fixed nits. r=nelson.
...
- typos in comments
- added 'const'
- changed parameter name byte_len/byte_Len to bytes_len to match
the name of the buffer 'bytes'
- formatting
Modified Files:
freebl/blapi.h freebl/drbg.c freebl/loader.c freebl/loader.h
freebl/os2_rand.c freebl/sysrand.c freebl/unix_rand.c
freebl/win_rand.c softoken/fipstest.c
git-svn-id: svn://10.0.0.236/trunk@256736 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-29 03:45:34 +00:00
rrelyea%redhat.com
d3d7f43c88
Bug 457045 - (drbg) Implement one of the DRBGs (PRNGs) specified in
...
NIST SP 800-90
1) fix Win64 warnings.
2) don't read directories in Unix Jitter.
3) Fix bug in count environment variable which read in files to the rng automatically
4) Add clarifying comments.
r=wtc sr=nelson
git-svn-id: svn://10.0.0.236/trunk@256258 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-20 01:00:55 +00:00
wtc%google.com
7d0bb30b69
Bug 457045: Use PATH_MAX instead of NAME_MAX*2 for the size of a buffer
...
that holds a file pathname, and include <limits.h> for the macro's
definition. r=nelson.
git-svn-id: svn://10.0.0.236/trunk@256228 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-14 06:14:28 +00:00
glen.beasley%sun.com
a78d5e2c4c
457045 fix MAC OS X tinderbox bob will review
...
git-svn-id: svn://10.0.0.236/trunk@256212 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-13 02:52:24 +00:00
glen.beasley%sun.com
08d84ee700
457045 solaris compile fix for DRBG r=bob
...
git-svn-id: svn://10.0.0.236/trunk@256211 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-13 01:35:33 +00:00
rrelyea%redhat.com
4d45df1688
Make tinderbox happy..
...
(solaris had a different readdir_r interface)
git-svn-id: svn://10.0.0.236/trunk@256210 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-13 00:41:13 +00:00
rrelyea%redhat.com
cb6d99f322
Fix Solaris build failure.
...
git-svn-id: svn://10.0.0.236/trunk@256209 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-12 23:28:09 +00:00
rrelyea%redhat.com
64367b8b59
Bug 457045 Implement one of the DRBGs (PRNGs) specified in NIST SP 800-90
...
Impements DRBG_256 r=nelson with comments incorporated from wtc.
git-svn-id: svn://10.0.0.236/trunk@256207 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-12 22:48:53 +00:00
wtc%google.com
902c767d5a
Bug 367664: added RISC OS support. The patch is contributed by
...
Peter Naulls <peter@chocky.org>. r=wtc.
Modified Files:
coreconf/config.mk coreconf/rules.mk
coreconf/nsinstall/nsinstall.c nss/lib/freebl/unix_rand.c
Added Files:
coreconf/RISCOS.mk
git-svn-id: svn://10.0.0.236/trunk@251487 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-09 23:56:02 +00:00
kaie%kuix.de
5d66f7a707
Bug 174993, don't fork netstat if data has been gathered from /dev/urandom
...
r=nelson
git-svn-id: svn://10.0.0.236/trunk@240344 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 21:07:01 +00:00
kaie%kuix.de
b2fcb9e0c9
Bug 51429, removed unused DO_PS code
...
r=wtc
git-svn-id: svn://10.0.0.236/trunk@240337 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 19:28:34 +00:00
wtc%google.com
075b5cf12b
Bug 51429 comment 85: call waitpid() even if kill() failed because the
...
return value of kill() on a zombie process is not standardized by POSIX;
kill() fails with ESRCH on some platforms. The patch is contributed by
Kurt Miller <kurt@intricatesoftware.com>. r=wtc.
git-svn-id: svn://10.0.0.236/trunk@240172 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 21:19:48 +00:00
nelson%bolyard.com
c84578cd4b
Bug 174993 - freopen stdin to /dev/null in safe_popen.
...
Patch by Kaspar Brand <mozbugzilla@velox.ch>, r=julien,nelson
git-svn-id: svn://10.0.0.236/trunk@230983 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-25 22:54:35 +00:00
wtchang%redhat.com
deb589b720
Bug 51429: in safe_pclose, we may call kill + waitpid(WNOHANG) 1000 times
...
without giving the child any time to receive the SIGKILL signal and
terminate, break out of the while loop, and leave the child behind as a
zombie process. The patch is contributed by John G. Myers
<jgmyers@speakeasy.net> and Tomas Mraz of Red Hat. r=neil.williams,relyea
git-svn-id: svn://10.0.0.236/trunk@217877 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-06 01:45:56 +00:00
wtchang%redhat.com
d398cd2cd1
Bug 51429: make sure that safe_popen cannot fail (in the parent process)
...
after fork succeeded. r=neil.williams
git-svn-id: svn://10.0.0.236/trunk@217876 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-06 01:18:24 +00:00
glen.beasley%sun.com
f398d5164e
355297 rng update checking in wan-tehs patch
...
git-svn-id: svn://10.0.0.236/trunk@213569 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-12 22:50:48 +00:00
wtchang%redhat.com
98af12d8cd
Bugzilla Bug 355297: added new function RNG_SystemRNG, which gets random
...
bits from the system RNG, and use it for the very first RNG_RandomUpdate
call in rng_init so that we initialize the RNG's XKEY with high quality
entropy. r=jpierre,relyea.
Modified Files:
os2_rand.c prng_fips1861.c secrng.h unix_rand.c win_rand.c
git-svn-id: svn://10.0.0.236/trunk@213528 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-12 02:23:49 +00:00
julien.pierre.bugs%sun.com
eefc0e6cf7
Fix for bug 351270 . Assertion in unix_rand.c .
...
git-svn-id: svn://10.0.0.236/trunk@209290 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-06 21:08:21 +00:00
julien.pierre.bugs%sun.com
f22511e297
Fix for bug 182758 . Use only /dev/urandom on Solaris when available . If not, use libkstat . r=nelson, wtchang
...
git-svn-id: svn://10.0.0.236/trunk@209033 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-01 22:08:52 +00:00
glen.beasley%sun.com
d7ec54429b
David Baron fix for valgrind report of UMR r=wtchang sr=Nelson
...
git-svn-id: svn://10.0.0.236/trunk@193475 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 01:05:53 +00:00
julien.pierre.bugs%sun.com
8baad63699
Fix for 265369 - fix compiler warning in unix_rand . r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@173271 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 21:14:51 +00:00
julien.pierre.bugs%sun.com
d5d4616504
Fix for 266206 - avoid calling getdtablesize twice
...
git-svn-id: svn://10.0.0.236/trunk@166455 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 23:00:19 +00:00
julien.pierre.bugs%sun.com
96934ef216
Fix for 266206 . close only up to 64k descriptors.
...
git-svn-id: svn://10.0.0.236/trunk@164588 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-29 06:14:22 +00:00
gerv%gerv.net
43cb9e1492
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
wtc%netscape.com
eee783e6a0
Bug 206926: 1. Undo the changes to secrng.h, pqgutil.h, swfutl.c,
...
unix_rand.c, and win_rand.c. 2. Make secrng.h and pqgutil.h private.
3. Public header pk11pqg.h can't include private header pqgutil.h.
4. Many files don't need to include secrng.h. A few don't need to include
pqgutil.h. 5. Remove duplicate declarations of PQG_DestroyParams and
PQG_DestroyVerify from blapi.h.
git-svn-id: svn://10.0.0.236/trunk@143125 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 23:31:32 +00:00
wtc%netscape.com
ef6c7b9e73
Bug 206926: now that secrng.h and pqgutil.h include blapit.h instead of
...
blapi.h, some files that include secrng.h or pqgutil.h need to include
blapi.h directly.
Modified Files: certcgi.c swfutl.c unix_rand.c win_rand.c
git-svn-id: svn://10.0.0.236/trunk@142897 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-25 01:21:27 +00:00
wtc%netscape.com
6821d13d5c
Bugzilla 198461: fixed build problem on OpenBSD. The patch is contributed
...
by timeless@bemail.org .
git-svn-id: svn://10.0.0.236/trunk@139906 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 05:24:29 +00:00
wtc%netscape.com
d50ec75b06
Bug 186201: should handle a null 'environ' pointer, which can happen on
...
Solaris if NSS is loaded with dlopen() by an executable linked with the
RTLD_GROUP flag.
git-svn-id: svn://10.0.0.236/trunk@136052 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 04:34:31 +00:00
wtc%netscape.com
ae173749da
Bugzilla bug 131171: added HP-UX IPF (ia64) support. Portions of the patch
...
(attachment 84127) were contributed by Jim Dunn <jdunn@netscape.com>.
git-svn-id: svn://10.0.0.236/trunk@121813 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 00:52:11 +00:00
wtc%netscape.com
52f5bfd019
Bugzilla bug 70217: ported NSS to BeOS. The patch is contributed by
...
Christopher Seawood <seawood@netscape.com>.
git-svn-id: svn://10.0.0.236/trunk@115206 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 04:23:30 +00:00
wtc%netscape.com
52d63759fb
Bugzilla bug 112198: Port NSS to Mac OS X (Darwin). The patch is
...
contributed by Javier Pedemonte <pedemonte@alumni.utexas.net>.
Modified Files:
coreconf/config.mk coreconf/nsinstall/nsinstall.c
coreconf/nsinstall/pathsub.c nss/lib/freebl/unix_rand.c
nss/lib/ssl/unix_err.c
git-svn-id: svn://10.0.0.236/trunk@114158 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 05:24:49 +00:00
wtc%netscape.com
2b6f0984fd
Bugzilla bug 100447: on BSD/OS 4.2 and 4.3, we have problem calling
...
safe_popen in a threaded program. So we don't call safe_popen when
we obtained some entropy from /dev/urandom. Thanks to lidl@pix.net
for the bug report and the fix.
git-svn-id: svn://10.0.0.236/trunk@112968 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 00:14:59 +00:00
wtc%netscape.com
46e7a3b371
Bugzilla bug 111294: make NSS build on QNX6 (Neutrino). The patch was
...
contributed by Dave Inglis <dinglis@qnx.com>. r=wtc.
Modified Files:
coreconf/config.mk coreconf/nsinstall/nsinstall.c
nss/lib/freebl/unix_rand.c nss/lib/ssl/unix_err.c
Added Files:
coreconf/QNX.mk
git-svn-id: svn://10.0.0.236/trunk@109640 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 18:20:57 +00:00
nelsonb%netscape.com
b83e00bb67
Add one more missing declaration of environ;
...
git-svn-id: svn://10.0.0.236/trunk@108188 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 20:40:44 +00:00
nelsonb%netscape.com
c968df5114
Go back to declaring "extern char ** environ".
...
git-svn-id: svn://10.0.0.236/trunk@108186 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 20:35:31 +00:00
nelsonb%netscape.com
38c49051cb
Use data from /dev/urandom to initialize PRNG, when possible.
...
and related changes. Bug 96626.
git-svn-id: svn://10.0.0.236/trunk@108136 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 02:41:20 +00:00
relyea%netscape.com
992f3ed148
OK, try this again. FreeBL needs Get_Noise in the freebl .so on solaris, so
...
move the random number stuff there where it belongs.
git-svn-id: svn://10.0.0.236/trunk@107671 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 15:02:25 +00:00