2481 Commits

Author SHA1 Message Date
bishakhabanerjee%netscape.com
de9946bfd4 creating the cmdtests.sh script - bug 144316
git-svn-id: svn://10.0.0.236/trunk@132663 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 00:20:10 +00:00
jpierre%netscape.com
3dd35bdd1c Fix for bug 95311 - copy the DER input key to the arena, and free the arena upon decoding failure.
git-svn-id: svn://10.0.0.236/trunk@132657 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-29 23:47:31 +00:00
jpierre%netscape.com
55bdd5ad07 Use QuickDER to decode DER public key. Bug #95311
git-svn-id: svn://10.0.0.236/trunk@132652 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-29 22:52:31 +00:00
kirk.erickson%sun.com
6dd5a63a0e Integrated bundle of changes that we're done on NSS_3_3_2_SUN_PKG_BRANCH.
x86 support (separate prototype_sparc, prototype_i386)
	single updated copyright on common_files
	no pkgdepend in common_files


git-svn-id: svn://10.0.0.236/trunk@132563 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-26 18:04:40 +00:00
nelsonb%netscape.com
3648789743 Plug cert leak in NSS_SMIMESignerInfo_SaveSMIMEProfile. Bug 176799.
Patch contributed by Kai Engert.


git-svn-id: svn://10.0.0.236/trunk@132542 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 22:46:48 +00:00
nelsonb%netscape.com
1bebb07ba4 Add new function CERT_VerifySignedDataWithPublicKey containing common code
factored from existing functions CERT_VerifySignedDataWithPubKeyInfo and
CERT_VerifySignedData.  Bug 174193.


git-svn-id: svn://10.0.0.236/trunk@132499 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 03:21:24 +00:00
jpierre%netscape.com
b979c8298d Fix for 169038 - bump builtins library version to 1.20 on the tip
git-svn-id: svn://10.0.0.236/trunk@132482 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 00:17:37 +00:00
nelsonb%netscape.com
8ee0616d0c Add -v option, which prints email addresses in certs. This excersizes
the new functions for extracting email addresses from certs.  Bug 152986.


git-svn-id: svn://10.0.0.236/trunk@132427 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 01:40:40 +00:00
bishakhabanerjee%netscape.com
81e40f537d commented out unchecked in tests
git-svn-id: svn://10.0.0.236/trunk@132420 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 00:19:53 +00:00
jpierre%netscape.com
ea0798106c Fix comment formatting style
git-svn-id: svn://10.0.0.236/trunk@132418 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-23 23:41:02 +00:00
jpierre%netscape.com
b43037d69f Fix for bug 95311 - replace assertion with comments
git-svn-id: svn://10.0.0.236/trunk@132417 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-23 23:18:17 +00:00
relyea%netscape.com
a316483397 Make sure the array is big enough to handle all the cases.
git-svn-id: svn://10.0.0.236/trunk@132416 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-23 22:51:10 +00:00
nelsonb%netscape.com
cbddd29696 Include certi.h to resolve invocation of undeclared function.
git-svn-id: svn://10.0.0.236/trunk@132412 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-23 22:00:48 +00:00
nelsonb%netscape.com
3162991a34 Add 2 new functions to NSS, so an application can get a list of all
email addresses in a cert.  Bug 152986.
Modified Files: lib/nss/nss.def lib/certdb/alg1485.c lib/certdb/cert.h
                lib/certdb/certdb.c lib/certdb/certi.h


git-svn-id: svn://10.0.0.236/trunk@132408 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-23 20:50:51 +00:00
wtc%netscape.com
b18777f1e8 The version of the builtin root certs module is now specified in nssckbi.h.
git-svn-id: svn://10.0.0.236/trunk@132406 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-23 19:04:22 +00:00
jpierre%netscape.com
e0e121590b Up library number for TC roots - bug #169038
git-svn-id: svn://10.0.0.236/trunk@132388 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-23 01:38:57 +00:00
ian.mcgreer%sun.com
941cca0169 bug 174634, fix handling of authorityCertIssuer in chain construction
git-svn-id: svn://10.0.0.236/trunk@132362 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-22 14:43:08 +00:00
jpierre%netscape.com
05f57072ae Fix for bug 175167 - SEC_QuickDERDecodeItem should fre memory upon failure. r=wtc
git-svn-id: svn://10.0.0.236/trunk@132272 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 22:32:34 +00:00
nelsonb%netscape.com
2a6f78cf87 Verify the self-signed signature on PKCS 10 cert requests before honoring
them.  Bug 174193.


git-svn-id: svn://10.0.0.236/trunk@132267 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 21:58:24 +00:00
bishakhabanerjee%netscape.com
93ae51e1cc changed error string to reflect error better: 162714
git-svn-id: svn://10.0.0.236/trunk@132199 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 00:13:03 +00:00
nelsonb%netscape.com
bb5ff42b98 New utility to test cert chain verification using certs in files.
git-svn-id: svn://10.0.0.236/trunk@132184 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 22:24:35 +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
01270dc30d Use unsigned ints for serial numbers. Bug 173872.
Add missing line break to cert requests.  Bug 174659.
Remove unused variables, and #ifndef NSPR20 code.


git-svn-id: svn://10.0.0.236/trunk@132126 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 01:41:14 +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
nelsonb%netscape.com
cb354d67e7 Fix DER_GetInteger. Bug 174644.
git-svn-id: svn://10.0.0.236/trunk@132052 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 01:36:10 +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
jpierre%netscape.com
2694d28bb8 Fix for 169038 - correct entries for TC TrustCenter roots
git-svn-id: svn://10.0.0.236/trunk@131857 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-12 01:08:14 +00:00
jpierre%netscape.com
2111228f87 Fix for 169038 - correct entries for TC TrustCenter roots
git-svn-id: svn://10.0.0.236/trunk@131855 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-12 01:04:53 +00:00
jpierre%netscape.com
fbf29a5a7b Fix addbuiltin t add issuer & serial number to trust object
git-svn-id: svn://10.0.0.236/trunk@131853 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-12 01:00:33 +00:00
relyea%netscape.com
b5715de870 Fix memory leaks in the startup of the builtins.
git-svn-id: svn://10.0.0.236/trunk@131733 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-10 22:39:23 +00:00
relyea%netscape.com
2a7a5dea12 Fix memory leak in vfyserv.c
git-svn-id: svn://10.0.0.236/trunk@131732 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-10 22:38:09 +00:00
relyea%netscape.com
f045aece62 Fix optimized build failures
git-svn-id: svn://10.0.0.236/trunk@131718 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-10 21:17:39 +00:00
wtc%netscape.com
e2a88b3f49 Bug 131386: use 'tee' (in a pipe) instead of 'tail -f' when we need to
display the test output on stdout.  This avoids the need to kill the tail
process, which is tricky to do under MKS Korn Shell on Windows.
Modified Files: all.sh jssqa common/init.sh


git-svn-id: svn://10.0.0.236/trunk@131710 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-10 20:36:53 +00:00
relyea%netscape.com
58d140d4e0 Fix Cert Reference leak in error path
git-svn-id: svn://10.0.0.236/trunk@131709 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-10 20:34:29 +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
relyea%netscape.com
faa9e5505e Bug 164501. Return a proper error code from PK11_FindCrlByName() so the CRL
code can decide if there is a hw or system failure preventing the reading of a
CRL or if the CRL is just not there.


git-svn-id: svn://10.0.0.236/trunk@131706 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-10 20:30:19 +00:00
relyea%netscape.com
346d28c2bf Unix and Mac platforms need to load librdb.* not rdb.*.
git-svn-id: svn://10.0.0.236/trunk@131703 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-10 20:11:09 +00:00
relyea%netscape.com
e16188c400 Fix minor memory leak on init.
git-svn-id: svn://10.0.0.236/trunk@131702 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-10 20:09:30 +00:00
jpierre%netscape.com
ff93525e60 Bump softoken version to 3.7 on tip
git-svn-id: svn://10.0.0.236/trunk@131384 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 04:07:22 +00:00
nelsonb%netscape.com
eee8033a61 Make indentation style self-consistent: 4 spaces per indent.
Save error code at the beginning of printCertProblems, and restore it at
the end, since CERT_VerifyCert nearly always sets the error code to
-8157 Certificate extension not found when building an error log.
Bug 172036.


git-svn-id: svn://10.0.0.236/trunk@131376 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 03:39:50 +00:00
jpierre%netscape.com
bf9976d03d Fix for 172732. r=relyea
git-svn-id: svn://10.0.0.236/trunk@131351 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 01:23:09 +00:00
wtc%netscape.com
82f2afdc7a Set NSS version to 3.7 Beta on the tip.
git-svn-id: svn://10.0.0.236/trunk@131329 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 20:47:18 +00:00
jpierre%netscape.com
c1b8340977 Fix for 172678 - move internal functions InitCRLCache and ShutdownCRLCache to private header certi.h
git-svn-id: svn://10.0.0.236/trunk@131215 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 02:24:25 +00:00
wtc%netscape.com
dd6d28b962 Sorted NSS 3.6 symbols in alphabetical order.
git-svn-id: svn://10.0.0.236/trunk@131180 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 22:11:34 +00:00
wtc%netscape.com
78ee89944b Import nspr20/v4.2.2.
git-svn-id: svn://10.0.0.236/trunk@131174 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 21:26:10 +00:00
kirk.erickson%sun.com
fc3538040b Added SUNW_ISA=sparcv9 to clear up error message.
git-svn-id: svn://10.0.0.236/trunk@131164 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 20:47:09 +00:00
wtc%netscape.com
753326f32e Bug 164744: fixed the comment block style.
git-svn-id: svn://10.0.0.236/trunk@131054 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 04:01:34 +00:00
wtc%netscape.com
24a53e67b2 Bug 149832: renamed highestUsage as certificateUsageHighest.
Modified files: certdb/certt.h certhigh/certvfy.c


git-svn-id: svn://10.0.0.236/trunk@131053 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 03:48:55 +00:00
jpierre%netscape.com
c9fe358c5a Fix for 164744 - implement new functions for pk12util . r=wtc
git-svn-id: svn://10.0.0.236/trunk@131051 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-03 03:35:32 +00:00