3865 Commits

Author SHA1 Message Date
glen.beasley%sun.com
0cbae08b88 removes sun provider and set passwords
git-svn-id: svn://10.0.0.236/trunk@133331 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 22:49:26 +00:00
glen.beasley%sun.com
aca505f03a move removeSunProvider after JSS JCE provider is loaded
git-svn-id: svn://10.0.0.236/trunk@133249 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 03:33:04 +00:00
jpierre%netscape.com
941f0104bd Fix for 177798 . Improve handling of initialization / shutdown of the CRL cache using a static status variable
git-svn-id: svn://10.0.0.236/trunk@133228 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 00:02:31 +00:00
ian.mcgreer%sun.com
ac48db6445 bug 177366, clean up refcounting
r=relyea


git-svn-id: svn://10.0.0.236/trunk@133173 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 18:53:55 +00:00
nicolson%netscape.com
b94775cb10 Add license header to new file.
git-svn-id: svn://10.0.0.236/trunk@133105 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 03:24:39 +00:00
nicolson%netscape.com
16eb4e02e6 Add TestSDR, to test the new SecretDecoderRing.
In all.pl, always set the CLASSPATH to be the signed JSS JAR file, so
that we can use the JCE (javax.crypto.*) interface.


git-svn-id: svn://10.0.0.236/trunk@133104 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 03:22:10 +00:00
nicolson%netscape.com
af2568778b Correctly detect a missing key.
git-svn-id: svn://10.0.0.236/trunk@133102 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 03:20:53 +00:00
nicolson%netscape.com
04974987a2 Improve InvalidBERException.
Add feature of SEQUENCE.OF_Template whereby elements need not produce
any output. This is for dealing with very large SEQUENCEs, such as
large CRLs, where the list should be processed in some way, but not made
into an ASN1 object hierarchy.


git-svn-id: svn://10.0.0.236/trunk@133069 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 02:00:55 +00:00
kaie%netscape.com
499d158fb3 b=166655 ERROR -12227 / Extend the list of TLS intolerance error codes
r=javi sr=jag a=blizzard


git-svn-id: svn://10.0.0.236/trunk@133012 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-05 14:49:52 +00:00
nelsonb%netscape.com
d60753042b Workaround a c preprocessor bug on a certain 64-bit platform. Bug 178314.
git-svn-id: svn://10.0.0.236/trunk@132977 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-05 01:52:49 +00:00
nelsonb%netscape.com
827c334f1c Fix missing strings that cause crash in SSL_SecurityStatus(). Bug 178342.
git-svn-id: svn://10.0.0.236/trunk@132968 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-05 00:25:20 +00:00
relyea%netscape.com
db6a20b385 !@#!$@! signtool thinks it knows how to verify if the certdb's are there and
OK or not. Of course it doesn't.

bob


git-svn-id: svn://10.0.0.236/trunk@132938 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-04 20:37:08 +00:00
relyea%netscape.com
d4e4d8b22a db8 code part 1:
1) Create new dbs with 32 k buffers.
   2) New dbs never store a single entry greater than 30 k (those are stored
using the blob code).
   3) NSS can run with either new or old dbs read only.
   4) If possible a new db is upgraded from and old db.


git-svn-id: svn://10.0.0.236/trunk@132934 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-04 19:31:59 +00:00
nelsonb%netscape.com
bbd94d3c96 Add some processor and compiler dependent optimizations to SHA1.
git-svn-id: svn://10.0.0.236/trunk@132885 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-02 01:53:01 +00:00
nelsonb%netscape.com
66baae99bd Add SHA256 SHA512 and SHA384 hashes to freebl.
git-svn-id: svn://10.0.0.236/trunk@132884 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-02 01:51:44 +00:00
jpierre%netscape.com
43710b3f3b Fix for bug 177798 - NULL pointers in ShutdownCRLCache to allow shutdown/restart
of NSS.


git-svn-id: svn://10.0.0.236/trunk@132852 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-02 00:07:48 +00:00
nelsonb%netscape.com
4eb322a2ce Fix several problems related to error messages, including an attempt to
print a null string pointer.


git-svn-id: svn://10.0.0.236/trunk@132837 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-01 21:04:33 +00:00
nelsonb%netscape.com
6a4a0128ec Reformat text. Fix syntax error in first examples.
git-svn-id: svn://10.0.0.236/trunk@132835 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-01 21:03:24 +00:00
jpierre%netscape.com
50b85efb10 Remove call to PL_ArenaFinish . This effectively shut down NSPR arenas and created problems when restarting NSS . r=relyea
git-svn-id: svn://10.0.0.236/trunk@132797 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 22:02:10 +00:00
jpierre%netscape.com
10b1e97dd0 Fix for 177208 - unmark arena when DER decoding is successful
git-svn-id: svn://10.0.0.236/trunk@132748 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 01:54:13 +00:00
jpierre%netscape.com
f40d5c295c Fix for bug 175115 . Remove incorrect check for CA cert expiration. Also fix CRL signature verification and clean up internal functions . r=mcgreer,relyea,nelsonb,wtc
git-svn-id: svn://10.0.0.236/trunk@132742 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 23:31:38 +00:00
relyea%netscape.com
9071d0302f Fix build breakage. Some platforms do not like to assign unsigned char * to
char * without a cast.


git-svn-id: svn://10.0.0.236/trunk@132736 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 19:01:21 +00:00
relyea%netscape.com
bd5463e3f1 The Serial number needs to be the DEREncoded serial number, not the decoded
Serial number.


git-svn-id: svn://10.0.0.236/trunk@132727 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 17:22:06 +00:00
relyea%netscape.com
56e7c1f580 Check in new certdata file generated from certdata.txt
git-svn-id: svn://10.0.0.236/trunk@132726 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 17:20:59 +00:00
relyea%netscape.com
e1172d0384 Allow the builtin's to accept old style serial numbers as well the the correct
PKCS #11 serial numbers.


git-svn-id: svn://10.0.0.236/trunk@132721 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 17:18:14 +00:00
relyea%netscape.com
8766ccdf71 Make the Serial Numbers DER Wrapped rather than raw serial numbers.
This is required by PKCS #11 and was causing some bugs in NSS 3.6.


git-svn-id: svn://10.0.0.236/trunk@132714 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 17:09:28 +00:00
wtc%netscape.com
b3ac7bbc90 Bug 174143: Removed the obsolete platform.mk file. Do not allow overriding
of PLATFORM by the environment because PLATFORM is a common environment
variable.


git-svn-id: svn://10.0.0.236/trunk@132711 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 15:50:59 +00:00
kairo%kairo.at
3e1e257124 Bug 175853, Update localeVersion strings for 1.2 final - and do it correctly, r=jbetak, sr=bzbarsky, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@132698 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 12:41:38 +00:00
wtc%netscape.com
3cb4b59ccc Bug 177201: declare NSS_CMSEncoder_Cancel.
git-svn-id: svn://10.0.0.236/trunk@132671 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 01:31:01 +00:00
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
nicolson%netscape.com
a3e7d22558 update version strings.
git-svn-id: svn://10.0.0.236/trunk@132279 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 23:59:01 +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
kaie%netscape.com
0f7fe3731d b=101847 keygen does not work if Master Pwd is set to "Everytime it is needed"
r=javi sr=jag a=asa


git-svn-id: svn://10.0.0.236/trunk@132236 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 13:49:58 +00:00