15 Commits

Author SHA1 Message Date
nelsonb%netscape.com
24d3f5738b Fix certutil's ability to read PQG files. Make certutil able to read
the files produced by the command "makepqg -a".  Plug some memory leaks.
r=relyea,vipul  Bug 247739


git-svn-id: svn://10.0.0.236/trunk@158387 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-23 22:23:00 +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
ian.mcgreer%sun.com
decc84df49 ECC code landing.
Contributed by Sheuling Chang, Stephen Fung, Vipul Gupta, Nils Gura,
and Douglas Stebila of Sun Labs


git-svn-id: svn://10.0.0.236/trunk@148060 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 13:45:42 +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
relyea%netscape.com
61415f9b42 Link certutil dynamically.
git-svn-id: svn://10.0.0.236/trunk@118173 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 00:12:21 +00:00
relyea%netscape.com
f9427b6c6c Remove dead code.
Fix compiler warnings.


git-svn-id: svn://10.0.0.236/trunk@103353 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:45:41 +00:00
mcgreer%netscape.com
dc81bd2915 force certutil to always return 255 on error. Make sure there is only one pointer to password callback arg.
git-svn-id: svn://10.0.0.236/trunk@100677 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 20:57:58 +00:00
mcgreer%netscape.com
626edc3a9e fix bug in param allocation
git-svn-id: svn://10.0.0.236/trunk@100496 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 16:35:06 +00:00
mcgreer%netscape.com
ef5da79845 more FIPS fixes. it's possible the old crypto lib alloc'ed the PQG params and copied them over when creating the DSA key, otherwise this code would have never worked. It's also possible this code was never tested as-is. At any rate, the static vars go out of scope and wreak havoc later on, so alloc the memory.
git-svn-id: svn://10.0.0.236/trunk@100408 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 18:57:16 +00:00
mcgreer%netscape.com
36bbd30461 more FIPS changes, keep pw context with key to avoid pw prompt
git-svn-id: svn://10.0.0.236/trunk@100400 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-06 16:01:10 +00:00
mcgreer%netscape.com
b30a322c8c fix DSA key gen
git-svn-id: svn://10.0.0.236/trunk@100230 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-02 21:06:38 +00:00
nelsonb%netscape.com
7a444e2264 Fix bug 85465. Detect EOF on stdin when reading it to seed PRNG.
Also eliminate some compiler warnings.


git-svn-id: svn://10.0.0.236/trunk@97355 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 21:31:04 +00:00
relyea%netscape.com
d16864a195 OpenVMS changes bug 60143
git-svn-id: svn://10.0.0.236/trunk@83384 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 22:25:18 +00:00
relyea%netscape.com
f47ead3b87 OS/2 build changes.
git-svn-id: svn://10.0.0.236/trunk@79631 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 17:07:22 +00:00
relyea%netscape.com
a4d4d45374 Initial NSS Open Source checkin
git-svn-id: svn://10.0.0.236/trunk@64788 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 20:13:40 +00:00