3974 Commits

Author SHA1 Message Date
dbaron%dbaron.org
186eca206d Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136023 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:45:23 +00:00
wtc%netscape.com
ec8de2b7c8 Bug 186586: If at NSS shutdown there are still certs in the cert caches,
cause NSS shutdown and the next NSS initialization to fail but do not
destroy the cert caches (and the crypto context and trust domain containing
them) to avoid a crash if the NSS client destroys the certs later.  New
error codes needed to be added to indicate the failure of NSS shutdown and
NSS initialization due to this cause.


git-svn-id: svn://10.0.0.236/trunk@136016 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:58:29 +00:00
wtc%netscape.com
83b9358446 Bug 186586: If at NSS shutdown there are still certs in the cert caches,
cause NSS shutdown and the next NSS initialization to fail but do not
destroy the cert caches (and the crypto context and trust domain containing
them) to avoid a crash if the NSS client destroys the certs later.  New
error codes needed to be added to indicate the failure of NSS shutdown and
NSS initialization due to this cause.
Modified Files:
	base/errorval.c nss/nssinit.c pki/pki3hack.c pki/pki3hack.h
	pki/pkistore.c pki/pkistore.h pki/tdcache.c pki/trustdomain.c
	util/secerr.h


git-svn-id: svn://10.0.0.236/trunk@136014 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:48:47 +00:00
wtc%netscape.com
2bf0c058f2 Need to call SSL_ClearSessionCache before calling NSS_Shutdown.
git-svn-id: svn://10.0.0.236/trunk@136013 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:40:52 +00:00
bishakhabanerjee%netscape.com
83644cf086 checking return value of NSS_Shutdown. Bug 171263
git-svn-id: svn://10.0.0.236/trunk@135951 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 22:53:13 +00:00
bishakhabanerjee%netscape.com
43ef69edd2 checking return value of NSS_Shutdown. Bug 171263
git-svn-id: svn://10.0.0.236/trunk@135950 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 22:31:36 +00:00
bishakhabanerjee%netscape.com
44597bc93e new revision: 1.19; previous revision: 1.18
git-svn-id: svn://10.0.0.236/trunk@135949 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 22:29:54 +00:00
bishakhabanerjee%netscape.com
8250cb2419 set and exported NSS_STRICT_SHUTDOWN. Bug 171263
git-svn-id: svn://10.0.0.236/trunk@135947 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 22:10:10 +00:00
kaie%netscape.com
0c1d5a1bc2 b=184940 Enable additional SSL ciphers, add configuration UI
r=javi sr=jaggernaut


git-svn-id: svn://10.0.0.236/trunk@135917 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 00:58:24 +00:00
kaie%netscape.com
7e6de39a8e b=177260 Fix known leaks in PSM, track blocking PSM UI, track open SSL sockets
r=javi sr=darin


git-svn-id: svn://10.0.0.236/trunk@135905 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 22:23:49 +00:00
kairo%kairo.at
e6ced14fde change all localeVersion strings, as well as brand.dtd/region.dtd to 1.3b; bug 185698, r=tao, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@135834 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 19:57:47 +00:00
dbaron%fas.harvard.edu
ffb8d9cca7 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 23:53:20 +00:00
nicolson%netscape.com
2c53a77295 Upgrade version from 3.2 to 3.3.
Uncomment MessageDigest implementations (doh!).


git-svn-id: svn://10.0.0.236/trunk@135748 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 02:58:22 +00:00
nicolson%netscape.com
cf0ea2d2f5 Add DigestTest to all.pl.
Make DigestTest and SigTest return nonzero error code on failure.


git-svn-id: svn://10.0.0.236/trunk@135747 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 02:57:50 +00:00
seawood%netscape.com
c92511069a Add hack upon dependency hack to Avoid constant NSS rebuilds when pulling from CVS.
git-svn-id: svn://10.0.0.236/trunk@135669 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 05:50:17 +00:00
seawood%netscape.com
f8f86e7f05 Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt


git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
wtc%netscape.com
37a5a7c29e Bug 183612: added some comments.
git-svn-id: svn://10.0.0.236/trunk@135609 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-24 02:25:36 +00:00
wtc%netscape.com
3ed557f63f Bug 183612: SECMOD_InitCallOnce() and SECMOD_CleanupCallOnce() should be
declared and defined with an argument list of "(void)" instead of "()".
Modified Files: pk11cert.c secmodi.h


git-svn-id: svn://10.0.0.236/trunk@135492 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 07:03:39 +00:00
nicolson%netscape.com
19837f51d9 Fix 186097: ProofOfPossession.encode() has paranoid assertion.
git-svn-id: svn://10.0.0.236/trunk@135481 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 02:31:38 +00:00
wtc%netscape.com
9bb9b998ad Bug 183612: renamed some new functions to be consistent with existing
function names containing SubjectKey and PublicKey.  Moved internal
functions to private headers and use the lowercase cert_ prefix for the
internal functions for subject key ID mapping hash table. r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@135480 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-19 00:26:34 +00:00
relyea%netscape.com
6aa398e467 Bug 186058
git-svn-id: svn://10.0.0.236/trunk@135473 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:55:53 +00:00
nicolson%netscape.com
0d19ebb1e6 Partial fix for 184754: assertion violation in get_token_certs_for_cache.
Don't assert if we fail to lookup the cert we just imported. It could
be a bug in the PKCS #11 driver. Instead, throw an exception.


git-svn-id: svn://10.0.0.236/trunk@135467 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 23:14:48 +00:00
kaie%netscape.com
eada7e261c Temporary fix for bug 182803.
While this masks the reported crashes, this is nothing more than a workaround patch.
As long as this patch is in place, any attempt to do profile switching at run time will fail.
We need real fixes for bug 181230 and 177260.
r=javi sr=darin


git-svn-id: svn://10.0.0.236/trunk@135460 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 12:50:35 +00:00
wtc%netscape.com
29e9e50079 Bug 183612: fixed the bug that 'extra' may be used uninitialized. r=javi.
git-svn-id: svn://10.0.0.236/trunk@135445 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 02:06:01 +00:00
wtc%netscape.com
3d91602837 Set NSS version to 3.8 Beta on the trunk.
git-svn-id: svn://10.0.0.236/trunk@135437 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 23:04:46 +00:00
wtc%netscape.com
6abee61f79 Export CERT_DestroyOCSPResponse in 3.7. Moved HASH_GetHashObjectByOidTag,
HASH_GetHashTypeByOidTag, and SECITEM_ItemsAreEqual from 3.7 to 3.8.


git-svn-id: svn://10.0.0.236/trunk@135436 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 23:02:53 +00:00
relyea%netscape.com
b6c3b8ab7a Make sure the session is protected over PKCS #11 calls.
git-svn-id: svn://10.0.0.236/trunk@135409 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 18:22:38 +00:00
wtc%netscape.com
95cab123a2 Need to test for null pointers before destroying the lock and condition
variable.  If NSS initialization fails, this lock and condition variable
may not get created.


git-svn-id: svn://10.0.0.236/trunk@135382 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 02:47:46 +00:00
wtc%netscape.com
a4b978b840 I made a mistake in the previous checkin. certdb.h doesn't need to be
included because the new function CERT_FindCertBySubjKeyID is declared in
cert.h.


git-svn-id: svn://10.0.0.236/trunk@135380 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 02:08:51 +00:00
wtc%netscape.com
688bbc9eba Bug 183612: added support for looking up a cert by subject key ID and
creating a CMS recipient info from a subject key ID.  The patch was
contributed by Javi Delgadillo <javi@netscape.com>. r=relyea, wtc.
Modified Files:
	certdb/cert.h certdb/certdb.c certdb/certdb.h certdb/certv3.c
	certdb/stanpcertdb.c nss/nss.def nss/nssinit.c
	pk11wrap/pk11cert.c pk11wrap/pk11func.h pk11wrap/secmod.h
	pki/pki3hack.c smime/cms.h smime/cmslocal.h smime/cmspubkey.c
	smime/cmsrecinfo.c smime/cmssiginfo.c smime/cmst.h
	smime/smime.def


git-svn-id: svn://10.0.0.236/trunk@135377 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 01:39:46 +00:00
dougt%netscape.com
d0c13e95b3 Allow caller to obtain cert. r=mstoltz, javi. sr=dveditz, b=179016
git-svn-id: svn://10.0.0.236/trunk@135266 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 22:26:43 +00:00
kaie%netscape.com
1467cc0fdc b=182258 Give separate signature validity and sender address mismatch feedback
r=javi sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@135261 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 20:47:32 +00:00
relyea%netscape.com
10cf066de9 Increment the tmpbuf pointer to the correct index point
git-svn-id: svn://10.0.0.236/trunk@135255 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 19:02:13 +00:00
nicolson%netscape.com
a0a78775dd Fix 180827: Update version strings for JSS 3.3.
git-svn-id: svn://10.0.0.236/trunk@135225 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 06:12:30 +00:00
wtc%netscape.com
aa731d6f0a Bug 185074: open the files we just did a "chmod -w" on once to work around
a Mac OS X NFS bug. Subsequent opens will see the file is readonly with no
delay.


git-svn-id: svn://10.0.0.236/trunk@135214 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 02:06:34 +00:00
nelsonb%netscape.com
9f7cd0929a Clean up command line options parsing and Usage message.
git-svn-id: svn://10.0.0.236/trunk@135210 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 01:25:45 +00:00
relyea%netscape.com
0ef77cf53b Use correct sense of the timeout value.
git-svn-id: svn://10.0.0.236/trunk@135201 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 00:25:21 +00:00
nelsonb%netscape.com
d36cf9c052 Support SHA256, SHA384, and SHA512 hashes in NSS.
git-svn-id: svn://10.0.0.236/trunk@135163 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-12 06:05:45 +00:00
relyea%netscape.com
c2747050b5 Don't break solaris or linux (add the ';')
git-svn-id: svn://10.0.0.236/trunk@135137 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 17:56:49 +00:00
relyea%netscape.com
ab1e313edc Export new command to pull for token change events.
git-svn-id: svn://10.0.0.236/trunk@135136 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 17:53:20 +00:00
relyea%netscape.com
927e518bfe Program to test smartcard removal and insertion detection.
git-svn-id: svn://10.0.0.236/trunk@135135 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 17:44:53 +00:00
relyea%netscape.com
db9fdd7d91 Add token removal blocking function.
git-svn-id: svn://10.0.0.236/trunk@135134 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 17:43:24 +00:00
thayes%netscape.com
f99655d56d Bug 184557: Allow usage specified on command line (-u) to be used to validate
certificates used for signing (-S option).  Also add special handling for
nickname "NONE" in the -Y option.  This specifies that no certificate and
encryption key preference should be included in the signature object.


git-svn-id: svn://10.0.0.236/trunk@135090 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 01:44:37 +00:00
wtc%netscape.com
b372052c6a Bug 180294: moved the OpenVMS build from the POSIX subsystem to native
VMS (GNV).  The patch is contributed by Colin Blakes <colin@theblakes.com>.
Modified files: OpenVMS.mk config.mk rules.mk nsinstall/nsinstall.c


git-svn-id: svn://10.0.0.236/trunk@135065 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 20:27:45 +00:00
relyea%netscape.com
835ba61f1e Sigh, this is what was breaking the Linux builds... incorrect initializer.
git-svn-id: svn://10.0.0.236/trunk@135041 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 18:09:16 +00:00
relyea%netscape.com
e6e68328f4 Make SubjectAltEncode a public function. Fixes build breakage in Linux
git-svn-id: svn://10.0.0.236/trunk@135039 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 17:41:16 +00:00
relyea%netscape.com
79fe77be86 Add test cases for multiple email addresses in a single certificate.
git-svn-id: svn://10.0.0.236/trunk@135037 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 17:19:00 +00:00
relyea%netscape.com
224056f917 Add code to create multiple email addresses in a single cert.
git-svn-id: svn://10.0.0.236/trunk@135036 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 17:18:06 +00:00
relyea%netscape.com
dab92f15e2 Export the AltSubjectEncode function so our test programs can build certs
with multiple email addresses.


git-svn-id: svn://10.0.0.236/trunk@135035 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 17:15:15 +00:00
relyea%netscape.com
1d0c8ab8f4 Create profiles for all the email addresses in a certificate.
git-svn-id: svn://10.0.0.236/trunk@135034 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 17:14:17 +00:00