wchang0222%aol.com
6dd1fdb214
Bugzilla bug 222568: fixed a bug introduced in rev. 1.54.
...
git-svn-id: svn://10.0.0.236/trunk@149529 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-19 01:38:26 +00:00
nelsonb%netscape.com
f8e9fea1e2
Fix unnecessary assertion failures occuring in SMIME testing in
...
debug builds only. Partial fix for bugscape bug 53775. r=wchang0222
git-svn-id: svn://10.0.0.236/trunk@149486 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-18 06:16:26 +00:00
wchang0222%aol.com
7f3eb1098d
Bugzilla bug 225373: the return value of CERT_NameToAscii must be freed
...
with PORT_Free.
Modified Files:
cmd/lib/secutil.c cmd/selfserv/selfserv.c
cmd/signver/pk7print.c cmd/strsclnt/strsclnt.c
cmd/tstclnt/tstclnt.c lib/certdb/cert.h
git-svn-id: svn://10.0.0.236/trunk@149241 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 16:10:45 +00:00
nelsonb%netscape.com
463a2092db
Fix numerous errors (mostly off-by-1 errors) in the code that formats
...
and prints certs and CRLs. This code is common to certutil and pp.
Bug 222568 r=nicholson (for this portion).
git-svn-id: svn://10.0.0.236/trunk@148808 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-04 02:16:42 +00:00
wchang0222%aol.com
770b984788
Bugzilla bug 223624: node->error is a 'long', so it should match a %ld
...
format. r=nelsonb.
git-svn-id: svn://10.0.0.236/trunk@148373 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-25 14:01:43 +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
jpierre%netscape.com
e8edbab622
Fix for bug 222180 . Change to quick decoder . r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@147977 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 01:34:22 +00:00
nelsonb%netscape.com
458f866ce8
This file has been dead code since NSS 3.4 released, if not sooner.
...
git-svn-id: svn://10.0.0.236/trunk@147866 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 01:10:51 +00:00
jpierre%netscape.com
4012fce7ab
Fix for bug 55898 - print name of certificate causing failure in certutil . r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@147725 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-08 01:00:37 +00:00
jpierre%netscape.com
7bcb65500d
Fix for bug 94413 - OCSP needs more fine tuned error messages. r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@147449 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-30 01:18:55 +00:00
jpierre%netscape.com
3b8812e241
Fix for bug 219539 - support GeneralizedTime in NSS tools
...
git-svn-id: svn://10.0.0.236/trunk@147323 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-26 06:18:40 +00:00
nelsonb%netscape.com
a25f55c7c5
Correctly compute certificate fingerprints. Bug 220016.
...
git-svn-id: svn://10.0.0.236/trunk@147137 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 02:05:47 +00:00
jpierre%netscape.com
c124a4adcb
Fix for 215182 - certutil prints incorrect nickname. r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@147135 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-23 00:10:54 +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
8d3e1170d8
Bug 205346: need to include <unistd.h> on BeOS for isatty(). Thanks to
...
timeless@bemail.org for the patch.
git-svn-id: svn://10.0.0.236/trunk@142336 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-12 19:52:44 +00:00
wtc%netscape.com
b9697cb5f5
Bug 205346: fixed a compiler warning about a zero-length format string for
...
sprintf.
git-svn-id: svn://10.0.0.236/trunk@142334 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-12 18:58:33 +00:00
nelsonb%netscape.com
a5c825f716
Fix bug 198099. Display DSA public keys in certs properly.
...
git-svn-id: svn://10.0.0.236/trunk@140211 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 03:45:04 +00:00
relyea%netscape.com
c03e47d2be
remove last references to TraverseCerts by removing depricated functions with call it. r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@138980 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 21:46:20 +00:00
nelsonb%netscape.com
db2f1140de
Add support for Elliptic Curve Cryptography. Bug 195135.
...
Modified Files:
cmd/lib/SECerrs.h cmd/selfserv/selfserv.c
cmd/tstclnt/tstclnt.c lib/cryptohi/keyhi.h
lib/cryptohi/keythi.h lib/cryptohi/seckey.c
lib/cryptohi/secvfy.c lib/freebl/Makefile lib/freebl/blapi.h
lib/freebl/blapit.h lib/freebl/ldvector.c lib/freebl/loader.c
lib/freebl/loader.h lib/freebl/manifest.mn lib/nss/nss.def
lib/pk11wrap/pk11skey.c lib/pk11wrap/pk11slot.c
lib/softoken/lowkeyti.h lib/softoken/manifest.mn
lib/softoken/pkcs11.c lib/softoken/pkcs11c.c
lib/softoken/pkcs11t.h lib/ssl/ssl3con.c lib/ssl/ssl3prot.h
lib/ssl/sslcon.c lib/ssl/sslenum.c lib/ssl/sslimpl.h
lib/ssl/sslinfo.c lib/ssl/sslproto.h lib/ssl/sslsecur.c
lib/ssl/sslsock.c lib/ssl/sslt.h lib/util/secerr.h
lib/util/secoid.c lib/util/secoidt.h
Added Files:
lib/freebl/GFp_ecl.c lib/freebl/GFp_ecl.h lib/freebl/ec.c
lib/freebl/ec.h lib/softoken/ecdecode.c
git-svn-id: svn://10.0.0.236/trunk@138574 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 01:31:38 +00:00
nelsonb%netscape.com
434fd1bc8e
Add missing dependency on error headers.
...
git-svn-id: svn://10.0.0.236/trunk@138557 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 23:52:40 +00:00
ian.mcgreer%sun.com
4a6e624c98
bug 172247, don't allow import of duplicate issuer/serial certs
...
git-svn-id: svn://10.0.0.236/trunk@134280 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 20:43:15 +00:00
nelsonb%netscape.com
2b6e228061
Fix crash when formatting a cert with optional version not given.
...
git-svn-id: svn://10.0.0.236/trunk@133889 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 06:32:51 +00:00
relyea%netscape.com
b486fee8f0
Remove long dead code from util. triggered by bug 179038
...
git-svn-id: svn://10.0.0.236/trunk@133574 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-11 18:17:24 +00:00
nelsonb%netscape.com
928be21a4a
Change instructions for entering a new token password to say "should"
...
instead of "must". Bug 174135.
git-svn-id: svn://10.0.0.236/trunk@132127 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 02:06:31 +00:00
nelsonb%netscape.com
82d1230431
Use the new quick DER decoder to decode Certificate requests, because
...
it does it correctly. Fix some memory leaks in print code.
Print OCTET strings and bits strings better.
git-svn-id: svn://10.0.0.236/trunk@132067 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 05:34:54 +00:00
nelsonb%netscape.com
5d7c539c7c
Eliminate a crash in pp formatting cert requests. Bug 174188.
...
When asking for a new password and the two values don't match, ask for
both again. Bug 174133.
git-svn-id: svn://10.0.0.236/trunk@132053 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 01:40:22 +00:00
relyea%netscape.com
14451af148
Make grammar, punctuation, capitalization, and content changes suggested by
...
nelson.
git-svn-id: svn://10.0.0.236/trunk@132006 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 00:56:23 +00:00
relyea%netscape.com
1e6d88b94e
Add missing errors from secerr.h in lib/util
...
git-svn-id: svn://10.0.0.236/trunk@131707 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-10 20:31:25 +00:00
nicolson%netscape.com
4b34ca8158
Fix 164126: makefile build error.
...
Change the NSS module name from "security" to "nss".
git-svn-id: svn://10.0.0.236/trunk@128961 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 16:38:56 +00:00
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
jpierre%netscape.com
7213b7013f
Fix for 164471 - Hide passwords in NSS command-line tools on OS/2
...
git-svn-id: svn://10.0.0.236/trunk@128056 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-25 03:00:34 +00:00
jpierre%netscape.com
ddecbb9b5a
Correctly identify tty on OS/2 - fix for 164420
...
git-svn-id: svn://10.0.0.236/trunk@128040 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 13:46:50 +00:00
jpierre%netscape.com
a10778e6db
Fix for 164403 - make console input work in NSS tools on OS/2
...
git-svn-id: svn://10.0.0.236/trunk@128039 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 11:51:42 +00:00
jpierre%netscape.com
d27b53f590
Add comment about partial CRLs
...
git-svn-id: svn://10.0.0.236/trunk@126884 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 07:09:25 +00:00
jpierre%netscape.com
213eb381ac
Fix for 142658 - fix certutil crash with NULL nickname
...
git-svn-id: svn://10.0.0.236/trunk@120898 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 23:10:40 +00:00
nelsonb%netscape.com
1730a09786
Add missing #include to fix errors on AIX.
...
git-svn-id: svn://10.0.0.236/trunk@118068 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 01:35:13 +00:00
nelsonb%netscape.com
b82c4acc00
Add cross-platform (WinCE) support.
...
git-svn-id: svn://10.0.0.236/trunk@118055 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 00:00:27 +00:00
wtc%netscape.com
4d2eddeffb
Bugzilla bug 131078: fixed compiler warnings. r=mcgreer.
...
git-svn-id: svn://10.0.0.236/trunk@116631 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 06:07:41 +00:00
bishakhabanerjee%netscape.com
897849a2c9
Patch for bug 119368: SECU_PrintError prints decimal error code now if
...
unknown error
git-svn-id: svn://10.0.0.236/trunk@113968 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:20:04 +00:00
relyea%netscape.com
b30eea42df
1) put some defensive programming so we don't crash on invalid der.
...
2) set the start offset correctly for multi-byte lengths when decoding sets
and sequences
git-svn-id: svn://10.0.0.236/trunk@113168 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 00:24:12 +00:00
relyea%netscape.com
cd1b6d6069
More 'pretty print' improvements. Decode context specific data a little more.
...
git-svn-id: svn://10.0.0.236/trunk@113123 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 17:50:27 +00:00
nelsonb%netscape.com
b3949a7795
Add error strings for new NSPR error codes. Bug 118668.
...
git-svn-id: svn://10.0.0.236/trunk@111785 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 03:00:30 +00:00
relyea%netscape.com
162c530b16
Land BOB_WORK_BRANCH unto the tip.
...
remove lots of depricated files.
move some files to appropriate directories (pcertdb *_rand
associated headers to soft token, for instance)
rename several stan files which had the same name as other nss files.
remove depricated functions.
git-svn-id: svn://10.0.0.236/trunk@107628 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 00:15:51 +00:00
jpierre%netscape.com
4ce6e3777c
Fix for OS/2 build
...
git-svn-id: svn://10.0.0.236/trunk@107050 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 03:10:29 +00:00
relyea%netscape.com
0023cdd352
Fix compilier warnings.
...
Remove calls to low level key structures.
git-svn-id: svn://10.0.0.236/trunk@103354 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:47:29 +00:00
nelsonb%netscape.com
44cf59d2ab
Fix a crash. An attempt to move a sensitive key longer than 48 bytes
...
from one token to another will no longer crash. Instead, it will fail
with the new error code SEC_ERROR_CANNOT_MOVE_SENSITIVE_KEY. Bug 97887.
In addition, DHE key pairs are now generated with CKA_SENSITIVE false.
git-svn-id: svn://10.0.0.236/trunk@102373 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 03:00:39 +00:00
mcgreer%netscape.com
d3215bb79b
be strict about passing wincx in pk12util.
...
git-svn-id: svn://10.0.0.236/trunk@100900 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-12 20:57:40 +00:00
mcgreer%netscape.com
264b5aa5dd
print a useful error message when password fails
...
git-svn-id: svn://10.0.0.236/trunk@100669 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 20:14:15 +00:00
mcgreer%netscape.com
02b4fb2375
when doing file passwords, only open the file once to retrieve the password, then keep it in memory. Seems to fix scripting problems (especially in FIPS, which hits the password prompt a lot).
...
git-svn-id: svn://10.0.0.236/trunk@100662 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-09 13:58:30 +00:00
mcgreer%netscape.com
5ae7ee3c2d
copy the plaintext password over
...
git-svn-id: svn://10.0.0.236/trunk@100523 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-07 21:11:46 +00:00