8 Commits

Author SHA1 Message Date
wtc%netscape.com
16ce983004 Bugs 166734 and 166785: fixed compiler warnings reported by gcc on Linux.
The patch for this checkin is attached to bug 166785.


git-svn-id: svn://10.0.0.236/trunk@128926 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 00:27:52 +00:00
relyea%netscape.com
50406c66c5 Bug 133584: Fix reference leaks which prevent shutdown in NSS and in the tests.
Debug builds can verify correct operation by setting NSS_STRICT_SHUTDOWN, which
will cause an assert if shutdown is called but not all the modules are freed (which
means a slot, key, or cert reference has been leaked).


git-svn-id: svn://10.0.0.236/trunk@118866 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 19:05:21 +00:00
relyea%netscape.com
af9c01bd19 1) Open database RW if we are encrypting so that the SDR key can be created.
2) Return an error code if we fail to open the database.
3) Initialize the database if it wasn't already


git-svn-id: svn://10.0.0.236/trunk@101754 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 18:20:07 +00:00
relyea%netscape.com
6bce3244ca Bug 67501: Fix suggested by Nelson. Make '-d' option work again in sdrtest.
git-svn-id: svn://10.0.0.236/trunk@86271 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 01:05:21 +00:00
wtc%netscape.com
fa14fe9597 Call NSS_Init() to initialize NSS. It's not necessary to call PR_Init()
because NSPR is implicitly initialized.


git-svn-id: svn://10.0.0.236/trunk@84433 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-05 21:14:47 +00:00
nelsonb%netscape.com
c6ec12f986 Reduce warnings by adding missing #includes to eliminate calls to
undeclared functions.


git-svn-id: svn://10.0.0.236/trunk@84366 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 08:21:15 +00:00
thayes%netscape.com
cc2043221c Initialize random number generator from system information. The new
RNG implementation fails if insufficient seed is not provided, which
would cause SDR key generation to fail.


git-svn-id: svn://10.0.0.236/trunk@79383 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 00:53:08 +00:00
thayes%netscape.com
a2172d1094 Add SDR test command
git-svn-id: svn://10.0.0.236/trunk@73100 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 22:25:22 +00:00