Граф коммитов

3386 Коммитов

Автор SHA1 Сообщение Дата
wtc%netscape.com 0c57191723 Bugzilla bug 135824: fixed slot reference leaks in signtool and removed
a faulty attempt to set user trust.  r=relyea,mcgreer.
Modified files: certgen.c util.c
2002-05-13 17:08:20 +00:00
wtc%netscape.com f6f0339d00 Bugzilla bug 135052: more cleanup in SEC_PKCS12DecoderStart. r=relyea. 2002-05-10 23:10:06 +00:00
jpierre%netscape.com e1a3c306e8 Fix for bug 142868 - CA certificates are imported with NULL nicknames . 2002-05-10 20:21:38 +00:00
relyea%netscape.com 94a587472a Add function to determine if it's safe to delete the internal module. 2002-05-10 18:36:18 +00:00
relyea%netscape.com fdca53cf70 Detect when we have a previously deleted internal module which has not yet been freed, and don't try to switch to it. 2002-05-10 18:13:44 +00:00
relyea%netscape.com 3ee0c3c996 Add new error code for trying to all previously deleted modules which have not yet been freed. 2002-05-10 18:12:39 +00:00
relyea%netscape.com 0d88474fba Allow both FIPS and non-FIPS tokens to be initialized and active at the same time. 2002-05-10 18:11:37 +00:00
relyea%netscape.com 610b845a52 When we force, we should preserve the NULL nickname semantics. 2002-05-10 18:10:26 +00:00
nicolson%netscape.com 3ebe79c4e3 comment out JDK 1.4 test so we can build with earlier versions 2002-05-10 00:13:19 +00:00
nicolson%netscape.com 89807692f8 Don't run javac if there are no source files to compille 2002-05-10 00:12:44 +00:00
wtc%netscape.com a8cdaf3aca Bugzilla bug 135821: fixed the internal slot reference leak in
PK11_WrapPrivKey.  r=relyea.
2002-05-09 23:34:24 +00:00
wtc%netscape.com 9c38dd9727 Bugzilla bug 135809: fixed the slot reference leaks in PBE_CreateContext
and SEC_PKCS5GetIV.  r=relyea.
2002-05-09 23:21:16 +00:00
wtc%netscape.com 0daca2313b Bugzilla bug 135818: fixed internal slot reference leaks in
PK11_VerifySlotMechanisms and PK11_InitToken.  r=relyea.
2002-05-09 23:18:15 +00:00
wtc%netscape.com 363fb30239 Bugzilla bug 135826: fixed the slot reference leaks. 2002-05-09 23:01:21 +00:00
ian.mcgreer%sun.com 6804ba674f bug 135808, STAN_GetDefaultCryptoToken appears to leak a slot reference, but there are no callers of it. Removing function.
r=wtc
2002-05-09 22:42:23 +00:00
wtc%netscape.com 894efe87d2 Bugzilla bug 135334: free the internal key slot reference when we are done. 2002-05-09 21:14:36 +00:00
wtc%netscape.com 43f8939e7c Bugzilla bug 135058: free nickCopy on error returns in
PK11_FindCertsFromNickname.  r=mcgreer.
2002-05-09 20:01:18 +00:00
nicolson%netscape.com 607b7e8309 add SocketBase.getLocalAddressNative. 2002-05-09 17:11:18 +00:00
nicolson%netscape.com a9fb648aec Fix 143256: SSLServerSocket.getInetAddress returns the wrong address.
Implement toString() for both socket types.
2002-05-09 17:10:06 +00:00
nicolson%netscape.com 2134638d66 add more PBE keygen algorithms. 2002-05-09 14:32:54 +00:00
nicolson%netscape.com 64576fd7fe update to work better with PBE. 2002-05-09 14:32:33 +00:00
nicolson%netscape.com 67a8c281e6 get rid of PBEKeySpec, just use PBEKeyGenParams. 2002-05-09 14:29:07 +00:00
glen.beasley%sun.com c87a19a616 115778 return local port 2002-05-09 02:26:25 +00:00
kaie%netscape.com 4443c130a5 b=137530 Fix checkboxes in Edit Cipher dialog.
r=javi sr=hewitt idea-for-fix=varga
2002-05-08 19:06:11 +00:00
darin%netscape.com 2ec96af213 fixing mac bustage (next time i'll remember to build PSM on my mac) 2002-05-08 00:07:23 +00:00
wtc%netscape.com 0a6086505a Bugzilla bug 136279: Return oldpath only if it is different from path.
Avoid an unnecessary call to SECMOD_HasRootCerts in nss_FindExternalRoot.
2002-05-07 23:35:22 +00:00
darin%netscape.com 6fd5862e6e fixes bug 142870 "nsIFile should use UCS-2 instead of UTF-8"
r=dougt sr=alecf
2002-05-07 23:07:19 +00:00
nicolson%netscape.com 05963322d2 change assert to _assert. 2002-05-07 20:45:09 +00:00
nicolson%netscape.com dd6484222e add some checks to prevent misunderstandings 2002-05-07 20:44:48 +00:00
relyea%netscape.com 56f8e3b5e8 Automatically create a NULL email profile for certs with email addresses which
are imported into the internal token.
2002-05-07 20:38:59 +00:00
nicolson%netscape.com c0a935fe8a update version numbers. 2002-05-07 20:34:54 +00:00
nicolson%netscape.com eb72e56e0a make it public so that it can be instantiated from CryptoManager. 2002-05-07 20:34:05 +00:00
nicolson%netscape.com a62c7231f1 implement some methods in support of java.security.Key. 2002-05-07 20:33:23 +00:00
nicolson%netscape.com e3bf596343 fix broken error message. 2002-05-07 20:32:29 +00:00
ian.mcgreer%sun.com 3a91379d33 bug 141936, crash when NULL nickname entry is stored in temp store
r=jpierre
2002-05-07 20:31:59 +00:00
nicolson%netscape.com e0f7d257cc Now SymmetricKey knows what KeyGenAlgorithm its associated with. 2002-05-07 20:31:52 +00:00
nicolson%netscape.com 2b7211a011 force load of SHA1 provider before installing it as a provider. 2002-05-07 20:31:14 +00:00
nicolson%netscape.com 1795a4d054 add JCE providers. 2002-05-07 20:30:38 +00:00
nicolson%netscape.com 705e4b5479 update version strings. 2002-05-07 20:24:03 +00:00
ian.mcgreer%sun.com d250a3e38f bug 142175, PK11_ListCerts regressions -- handle PKCS#11 incompatibilites with serial numbers, and fix trust collection. 2002-05-07 14:58:12 +00:00
kaie%netscape.com 20d03f9370 b=141871 Releasing callback in nsNSSSocketInfo must be proxied.
r=javi sr=alecf
2002-05-07 09:35:00 +00:00
kaie%netscape.com ac1bfbc0b2 b=112384 Unable to download some CRLs.
r=javi sr=darin
2002-05-07 09:29:23 +00:00
kaie%netscape.com a1ca0c87e8 b=139329 Crashes trying to send signed mail.
r=javi sr=alecf
2002-05-07 09:25:19 +00:00
jpierre%netscape.com 41ba83e283 Fix for 142658 - fix certutil crash with NULL nickname 2002-05-06 23:10:40 +00:00
nicolson%netscape.com 3e92affe57 Renamed to JSS*. 2002-05-06 21:54:38 +00:00
nicolson%netscape.com cb9ba101a4 Sun's PBE Key Spec is incomplete. 2002-05-06 18:58:39 +00:00
nicolson%netscape.com 314c5a982b add DESede. 2002-05-06 18:49:52 +00:00
wtc%netscape.com 300f9cadfe Bugzilla bug 136279: fixed bugs where 'path' and 'oldpath' were passed
to string functions before they were null-terminated.  Added a comment
to explain what 'oldpath' is for.
2002-05-03 20:59:50 +00:00
nicolson%netscape.com b02b8aab56 move alg-specific provider classes into generic parent classes. 2002-05-03 00:27:03 +00:00
nicolson%netscape.com 169b621765 upgrade to NSS 3.4.1 RTM and NSPR 4.2. 2002-05-02 23:02:49 +00:00
nicolson%netscape.com f7c27d4ae8 New provider files for JSS 3.2. 2002-05-02 20:25:15 +00:00
ian.mcgreer%sun.com f0d29104b1 bug 141355, CERT_DecodeDERCertificate is not a safe function for some uses, must be replaced with CERT_NewTempCertificate. 2002-05-02 19:00:13 +00:00
relyea%netscape.com 7143d6f89c Fix the RSA key check to correctly accept keys with p < q. 2002-05-02 17:39:13 +00:00
glen.beasley%sun.com 0cc88d04eb bug 131308 build 64 bit JSS with JDK 1.4 2002-05-02 04:37:16 +00:00
glen.beasley%sun.com 6ddc297e30 bug 129394 change assert to _assert 2002-05-02 04:04:23 +00:00
kaie%netscape.com 29ca7dc66d b=139948 SSL Tooltip not updated when going from one ssl site to another
r=javi sr=jag
2002-05-01 14:15:27 +00:00
jpierre%netscape.com e7ee105522 Fix for 136279 - initialize NSS in a way compatible with < 3.4 versions of NSS 2002-05-01 01:04:41 +00:00
wtc%netscape.com e4f5bd3810 Bugzilla bug 127062: use PR_MSG_PEEK instead of MSG_PEEK. 2002-05-01 00:21:50 +00:00
wtc%netscape.com 10bae1a1e3 Bugzilla bug 131057: define PORT_Strdup as a function that calls PORT_Alloc.
Modified files:
	lib/ckfw/nsprstub.c lib/fortcrypt/swfort/pkcs11/stub.c
	lib/nss/nss.def lib/util/secport.c lib/util/secport.h
2002-05-01 00:06:39 +00:00
wtc%netscape.com 4747c98947 Whitespace change. 2002-04-30 00:11:19 +00:00
relyea%netscape.com cec43732fb Use NewTempCert and AddTempCert when importing because the cert may already exist
in the cache.
2002-04-29 23:54:07 +00:00
darin%netscape.com e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
wtc%netscape.com 35e9736426 Added pkibase.c to the project. 2002-04-26 23:29:19 +00:00
wtc%netscape.com 787be44323 Needed a (char *) cast for slotInfo.manufacturerID because it is an array
of "unsigned" chars.  Mac's compiler complains about that.
2002-04-26 23:05:40 +00:00
jgmyers%netscape.com bf7e6b01fd Remove ssl-forcehandshake workaround r=kaie/rpotts/bienvenu sr=darin 2002-04-26 23:02:11 +00:00
wtc%netscape.com 4841e2949f Removed devobject.c from the project. That file was removed. 2002-04-26 22:52:07 +00:00
wtc%netscape.com 2762eaebca Need to define SHLIB_SUFFIX for lib/softoken/dbinit.c. 2002-04-26 22:42:15 +00:00
relyea%netscape.com 3d3a200209 return error when incomplete shutdown has been detected. 2002-04-26 22:36:07 +00:00
ian.mcgreer%sun.com cdae9ed5a1 When doing cert traversals, create the certs in full as they are found. This avoids thrashing the softoken's object cache when the database has a large number of certs. 2002-04-26 14:34:05 +00:00
ian.mcgreer%sun.com 74b86448f7 fix broken HPUX builds 2002-04-26 12:59:06 +00:00
relyea%netscape.com 600cb240a3 Add code to update nickname and 'CKA_ID' from set attribute calls. This allows
us to add a nickname to a cert after we import it from pkcs #12.
2002-04-26 01:44:33 +00:00
relyea%netscape.com fbb0134208 Write the nickname entry as well when adding a nickname to a bug. 2002-04-26 01:09:21 +00:00
relyea%netscape.com 2cd6213ca5 Detect Active Card presents and disable PROTECTED_PIN_PATH login when found. 2002-04-25 21:24:47 +00:00
wtc%netscape.com d3e14fdce2 Deleted code that was made obsolete by the previous revision. 2002-04-25 21:10:09 +00:00
relyea%netscape.com 1abdbba5a8 Don't let activeCards set the Protect_Auth bit because they weren't intending to
to begin with.
2002-04-25 20:57:06 +00:00
ian.mcgreer%sun.com 44d76f3678 if a cert already exists, use C_SetAttributeValue to change its mutable attributes during import (instead of trying to recreate it) 2002-04-25 20:49:49 +00:00
ian.mcgreer%sun.com 05bc7f4136 bug 138626, remove deleted cert from cache even if references still exist 2002-04-25 19:37:30 +00:00
ian.mcgreer%sun.com 2e14215952 reorganize token cache so that cache entries for imported objects are created from the token, not from the user-supplied template 2002-04-25 19:33:47 +00:00
relyea%netscape.com b02d968215 NSS 3.4 has branch, that makes the tip at least NSS 3.5 2002-04-25 18:51:45 +00:00
relyea%netscape.com 0008ea5125 Don't set the Token value before fetching CRL attributes. This code is fetching
attributes from a known CRL, not looking up new attributes (I'm pretty sure that
CVS apropos would show I checked in the previously wrong code).

bob
2002-04-25 18:33:45 +00:00
seawood%netscape.com c0ec608df6 Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components
2002-04-25 02:52:44 +00:00
sonja.mirtitsch%sun.com adb8e67a58 trying a version that can test tip as default for tinderbox and 341
as default for nightly QA
2002-04-25 01:04:10 +00:00
relyea%netscape.com 8747bf72ad Don't crash if our cache entry is not found. 2002-04-25 00:45:42 +00:00
relyea%netscape.com 35695b7987 Turn off caching for non-hardware tokens for now until we fix some of our
tokens which can be updated out-of-band to use the proper 'removable token'
semantics.
2002-04-25 00:25:58 +00:00
relyea%netscape.com df120eb43d Don't crash if we don't find the profile (and thus don't have a slot to free). 2002-04-24 22:23:37 +00:00
ian.mcgreer%sun.com 217231840b This is a real corner case. If a search is done by issuer/serial, and the returned cert was in the cache, need to see if the cert's slot was removed. If so, destroy the cert and retry the search on the present tokens. 2002-04-24 19:39:41 +00:00
relyea%netscape.com 23724ed2c8 Don't crash when getting a single user cert, but old certs are in the database
with the same subject, but no keys.
2002-04-24 18:29:04 +00:00
relyea%netscape.com ac5aeb9932 Look up both DER encoded serial numbers (PKCS #11 spec), and decode serial
numbers (Old NSS) when looking up certs by issuer and SN.
2002-04-24 18:27:17 +00:00
relyea%netscape.com 71e35b07b7 Authenticate to tokens before looking up user certs. 2002-04-24 18:25:48 +00:00
kaie%netscape.com 9bd7d0e5ad b=129067 Deleted certs still appear in Cert Manager, uses slow workaround, which should get removed once bug 138626 is fixed.
r=javi sr=alecf
2002-04-24 00:51:33 +00:00
kaie%netscape.com d71f02939c b=134992 Fix crash when displaying some S/Mime messages.
r=javi sr=alecf
2002-04-24 00:40:49 +00:00
kaie%netscape.com b18280dee7 b=139349 Need to use dont_AddRef with GetCertAtIndex
r=bryner sr=alecf
2002-04-24 00:35:05 +00:00
kaie%netscape.com bb35709550 b=139325 Leaking CERTCertificate references from nsNSSCertificate::GetChain
r=bryner/javi sr=alecf
2002-04-24 00:15:12 +00:00
thayes%netscape.com df2c867541 Reserved Netscape extension (NETSCAPE 1 18) 2002-04-23 23:48:20 +00:00
ian.mcgreer%sun.com 9221a5bd63 fix shutdown leaks 2002-04-23 17:22:13 +00:00
kaie%netscape.com fb19288806 b=125607 Temporary workaround for better displaying signed S/Mime messages w/ attachments from IMAP servers.
r=ducarroz sr=bienvenu
2002-04-22 23:02:29 +00:00
ian.mcgreer%sun.com caad76ef9c avoid use of iterator 2002-04-22 20:44:07 +00:00
ian.mcgreer%sun.com f9f60b9735 NewTemp has to be matched with AddTempCertToPerm 2002-04-22 20:27:52 +00:00
relyea%netscape.com ce09346d8c Token and cert processing fixes:
1) use NewTempCert rather than DERDecode cert in all import cert cases.
When DERDecode cert is used, we may wind up with a cert that gets cleared
when we try to import it because it already in the cache. NewTempCert will
return the version that is in the cache.
   2) If we are returning the CAList, only return certs that are CA's
(not usercerts).
   3) Authenticate to all the tokens if necessary before we try to list
certs. (Stan code should eventually get automatic authentication calls in
the code itself).
   4) When looking up user certs, don't return those certs with the same
subject, but do not have any key material associated with them (that is
don't crash if we have old certs in our database without nicknames, but
match user certs on our smart cards).
   5) Save the nickname associated with our subject list in the temp
cache so we can correctly remove the entry even if the cert's nickname
changes (because of smart card insertions and removals, or because of
creation and deletions of our user cert).
2002-04-22 19:09:01 +00:00
ian.mcgreer%sun.com 9596c39faa file is no longer part of build (functionality in devtoken.c) 2002-04-22 18:28:30 +00:00
ian.mcgreer%sun.com a4591dfe82 overwrite old entry during import, so that changing trust works correctly 2002-04-22 15:21:06 +00:00
ian.mcgreer%sun.com abac680269 fix bugs in cert import with smart card cache 2002-04-22 14:14:44 +00:00
ian.mcgreer%sun.com a7ab27bc63 re-sync the trust domain cache with token insertion/removal 2002-04-19 23:06:44 +00:00
nicolson%netscape.com 9c53042faa JSS 3.2 features check-in. 2002-04-19 22:42:05 +00:00
ian.mcgreer%sun.com 36e1d960b7 * make sure the token cache returns failure in overflow case
* change internal module trust order again, builtins uses 100, and internal module must come first
2002-04-19 19:30:12 +00:00
ian.mcgreer%sun.com 3a62ba7fdd try again, the default is 50 so the internal module must be higher 2002-04-19 19:19:33 +00:00
ian.mcgreer%sun.com 7061750a28 make sure the internal module defaults to trust order > 50 2002-04-19 19:01:45 +00:00
ian.mcgreer%sun.com 7c6de6462d improve synchronization between the token state and token cache operations 2002-04-19 17:32:22 +00:00
ian.mcgreer%sun.com a4d9b8b514 Only fall back to email search if the "nickname" has an @ character. This is because email searches will not go through the cache, so should be avoided if possible. 2002-04-19 16:22:31 +00:00
ian.mcgreer%sun.com 5377ca2a6c Fixes for smart card cache. Don't do cache searches by email address, since GetAttributeValue does not set that field. Handle removal correctly for item at tail of list. Don't search token after a successful cache search that returned zero hits. 2002-04-19 16:14:13 +00:00
kaie%netscape.com da66977564 b=137154 PSM needs to call SSL_ClearSessionCache before switching profiles
r=javi sr=alecf
2002-04-18 22:25:26 +00:00
jpierre%netscape.com 2d21c59ccc Fix for 138084 - free slot list if NSC_Initialize fails 2002-04-18 20:54:22 +00:00
ian.mcgreer%sun.com ee8ba26ef6 catch non-present tokens before searching them 2002-04-18 19:37:12 +00:00
ian.mcgreer%sun.com f618a840b0 two fixes for certs with multiple instances 2002-04-18 19:26:17 +00:00
relyea%netscape.com 8964d7d12e Don't crash if we try to get the name of a non-existant token. 2002-04-18 17:54:30 +00:00
relyea%netscape.com 77950da5b1 Remember the nickname in the cache entry so that we can always free it when the cert goes away, even if the nickname has changes.
Also, initialize subjectList to NULL at the beginning, so we don't try to add nickname when we aren't supposed to.
2002-04-18 17:52:55 +00:00
relyea%netscape.com a9286881d6 We need to make sure we always return a trust object, even if that object says
there is no trust.
2002-04-18 17:50:40 +00:00
ian.mcgreer%sun.com 5dbec9a12d landing new smart card cache, bug 135429 2002-04-18 17:30:05 +00:00
nicolson%netscape.com cdc867c54c update NSS version. 2002-04-18 14:33:16 +00:00
wtc%netscape.com f971211696 Bugzilla bug 126087: removed symKey->refLock because we are using atomic
routines on symKey->refCount now.  Declare symKey->refCount as PRInt32 to
match the prototype of PR_AtomicIncrement/Decrement.
Modified files: pk11skey.c secmodti.h
2002-04-17 01:03:23 +00:00
jgmyers%netscape.com 3052458a05 Remove unneeded ForceHandshake code which broke IMAP/SSL over SOCKS: bug 133434 r=kaie@netscape.com sr=brendan@mozilla.org a=asa 2002-04-16 22:49:33 +00:00
wtc%netscape.com 8236aafeec Bugzilla bug 133584: PK11_SaveSMimeProfile also needs to free free_slot if
it returns on error.
2002-04-16 22:40:07 +00:00
dbragg%netscape.com bcc260038d Regular milestone update of localeVersion values to 1.0.0. Bug 126785. r=tao, sr=alecf, a=asa 2002-04-16 22:19:10 +00:00
sonja.mirtitsch%sun.com f091c5b444 changes for jdk 1.4; and mccrel move 2002-04-16 20:57:42 +00:00
relyea%netscape.com 117c6b4800 Don't free the temp secmod.db name until we are through using it. 2002-04-16 00:24:34 +00:00
ian.mcgreer%sun.com b4146d9933 bug 63815, AIX compiler fails to build ckhelper.c in debug mode 2002-04-15 21:04:00 +00:00
ian.mcgreer%sun.com 54e6d33515 fix bbroken solaris x86 build 2002-04-15 16:20:39 +00:00
ian.mcgreer%sun.com a7256cf9ec bug 135521, change cert lookups on tokens to be actual finds instead of traversals 2002-04-15 15:22:11 +00:00
ian.mcgreer%sun.com a9ff4e3f4d fix a cert reference leak in strsclnt 2002-04-15 14:24:15 +00:00
kaie%netscape.com 1f3856b5a5 b=136908 Make CRL manager UI work again.
r=kaie sr=ben
2002-04-15 12:18:13 +00:00
kirk.erickson%sun.com 9cf5576b32 Resolves 126087. Backed out of slot->keyCount atomic instructions. 2002-04-14 14:07:12 +00:00
ian.mcgreer%sun.com 6d36e7eddc fix error statement 2002-04-12 19:17:48 +00:00
relyea%netscape.com 7aa8e229f4 Bug 133584: Fix reference leaks which prevent shutdown in NSS and in the tests.
Debug builds can verify correct operation by setting NSS_STRICT_SHUTDOWN, which
will cause an assert if shutdown is called but not all the modules are freed (which
means a slot, key, or cert reference has been leaked).
2002-04-12 19:05:21 +00:00
ian.mcgreer%sun.com 341d4faa3c bug 136806, don't authenticate to friendly slots when adding certs 2002-04-12 18:07:49 +00:00
ian.mcgreer%sun.com 55b154c58d testing theory that unmatched atomic increment/decrement is causing occasional tinderbox failures. See bug 126087. 2002-04-12 15:51:11 +00:00
kaie%netscape.com 805157a4b3 b=102633 Changed cipher prefs dialog.
Allow the user to enable additional ciphers.
Disable two cipher suites that are no longer in use (said the NSS team).
r=javi/nelsonb/cotter sr=alecf
2002-04-12 04:44:29 +00:00
kaie%netscape.com cc964d5bed b=119418 Fix handling of opaque signed S/Mime messages.
Also fixes some other S/Mime issues, as described in the bug.
r=ddrinan/ducarroz/darin sr=alecf
2002-04-12 04:26:40 +00:00
relyea%netscape.com 9b84261e2a Update the version field in the handle when doing the automatic update. 2002-04-12 03:43:34 +00:00
ian.mcgreer%sun.com 85eee15af6 additional fix for the patch from bug 126087. Must not set symKey->slot to NULL after leaving the freelist lock, or somebody else might pick up the symKey from the freelist, have their slot NULL'ed, and whamo.. 2002-04-11 23:05:38 +00:00
ian.mcgreer%sun.com a07c97c4aa key should be freed when refcount == 0 after decrement. See bug 126087. 2002-04-11 19:15:31 +00:00
kaie%netscape.com 3bb822a9ab b=102633 Allow the user to enable additional ciphers, dynamically obtaining a list of ciphers from NSS.
Disable support for two ciphers that are no longer in use.
r=javi/nelsonb/cotter sr=alecf
2002-04-11 05:07:09 +00:00
kaie%netscape.com c360fab9ce b=119481 Fix various unitialized variables.
r=kaie/javi sr=kin
2002-04-11 05:01:29 +00:00
kaie%netscape.com 583eafcb12 b=118319 Fix memory leak.
r=javi/wtc sr=blizzard
2002-04-11 04:35:08 +00:00
kaie%netscape.com 4a5807462b b=119481 Fix various unitialized variables.
r=kaie/javi sr=kin
2002-04-11 04:31:53 +00:00
kaie%netscape.com 1fa789d4cb b=129740 Fix client auth with profiles migrated from Communicator.
r=javi sr=alecf
2002-04-11 04:24:20 +00:00
kaie%netscape.com 568e70767c b=132543 Fix crash when downloading CRL
r=javi sr=alecf
2002-04-11 04:21:18 +00:00
relyea%netscape.com f0c6675537 bug 128586 (and other) importing non-NSS pkcs#12 files.
We need to decode the privatekeyinfo attributes if they exist.
2002-04-11 00:59:43 +00:00
nelsonb%netscape.com 12322a141f Add enum names for use in forward declarations. 2002-04-10 23:27:50 +00:00
wtc%netscape.com 0d4ecebd48 Bugzilla bug 136625: prevent pk11_cert_collect from storing NULL in the
certData.certs array so that pk11_searchCertsAndTrust won't deference a
NULL pointer.  r=relyea.
2002-04-10 17:56:52 +00:00
wtc%netscape.com 09eb8a090a Bugzilla bug 119418: export NSS_CMSMessage_IsEncrypted. 2002-04-10 17:54:02 +00:00
ian.mcgreer%sun.com e62cf2fe9d bug 135871, CERT_ImportCerts not storing temp certs
r=relyea
2002-04-09 23:46:57 +00:00
nicolson%netscape.com aee0f2e0e1 login to token before importing private key. 2002-04-09 19:23:49 +00:00
relyea%netscape.com 8aeb4d9e03 Handle yet another PKCS #11 device which has non-standard behavior, but is well established in the market place. 2002-04-09 17:58:00 +00:00
relyea%netscape.com 78033ccb01 Add the ability to test the multi-access database feature with existing test cases. 2002-04-08 23:39:44 +00:00
relyea%netscape.com 710d547b27 Add database update capabilities to NSS softoken for multi-access database. 2002-04-08 23:37:49 +00:00
nicolson%netscape.com ad470cfd5c merge JDK 1.4 changes to the trunk. 2002-04-08 21:46:56 +00:00
wtc%netscape.com fa6cabf3a9 Restored the 'static' qualifier that was accidentally deleted in the
previous revision.
2002-04-05 19:38:03 +00:00
wtc%netscape.com 02c4bae431 Bug 135728: include pki3hack.h for the declaration of
STAN_AddModuleToDefaultTrustDomain, etc. r=mcgreer.
2002-04-05 19:30:38 +00:00
wtc%netscape.com 95f21cf9dd Bug 135728: should return SECFailure because the function's return type
is SECStatus.  r=mcgreer.
2002-04-05 19:25:48 +00:00
ian.mcgreer%sun.com a1eb08fab6 remove unused Stan build files 2002-04-05 19:08:32 +00:00
ian.mcgreer%sun.com c2e59a5608 fix broken 64-bit platforms 2002-04-05 15:19:37 +00:00
jpierre%netscape.com dc6f8c3867 Fix world record warning message 2002-04-05 10:23:58 +00:00
relyea%netscape.com 57da95c52b Tempararily back out random change so that we don't actually read *every* file in system32. 2002-04-05 09:18:57 +00:00
relyea%netscape.com 1e4fbdcfa4 Multi-access database changes. 2002-04-05 09:17:51 +00:00
nelsonb%netscape.com 153a1e1fa9 WinCE mods (2nd try). Use NSPR for file system I/O on WinCE.
Change algorithm for selecting files to read for seeding the PRNG.
Old algorithm sometimes read very few files if opens failed.
2002-04-05 03:49:35 +00:00
nelsonb%netscape.com ead7be632b Don't build nss/cmd or nss/lib/fortcrypt on WinCE. 2002-04-05 03:34:57 +00:00
nelsonb%netscape.com 130c1e83db On WinCE, DBM's dbopen uses NSPR file open flags rather than libc's
file open flags (which are not defined on WinCE).
2002-04-05 03:33:42 +00:00
nelsonb%netscape.com 977f0c234a Stop linking in wsock32.lib and winmm.lib on Windows. We haven't needed
these since we started linking with NSPR's DLLs, and they don't exist
on WinCE.
2002-04-05 03:30:37 +00:00
relyea%netscape.com 328abf7121 Fix linux build errors 2002-04-05 03:29:50 +00:00
relyea%netscape.com 68c7d19edd return the correct error codes to make all.sh happy. 2002-04-05 03:16:41 +00:00
sonja.mirtitsch%sun.com 1a80c72971 fixed a bug that had resulted in tinderbox results not always being uploaded 2002-04-05 01:41:34 +00:00
relyea%netscape.com d0385fe4ca Add ';' so Solaris and Linux will build 2002-04-05 01:09:39 +00:00
nelsonb%netscape.com c2c7b26b40 New platform files for WinCE. 2002-04-05 00:52:32 +00:00
relyea%netscape.com 24ff51d1d9 Link certutil dynamically. 2002-04-05 00:12:21 +00:00
relyea%netscape.com 9edd53c39f Add symbols so the certutil can be linked dynmically 2002-04-05 00:11:25 +00:00
relyea%netscape.com f7df04f838 Don't try verifying the db's in a multi-access database case 2002-04-05 00:10:39 +00:00
kaie%netscape.com 649bf84ac3 b=125041 CA not imported when getting personal cert
r=ssaux sr=alecf a=asa
2002-04-04 22:30:40 +00:00
ian.mcgreer%sun.com 4ef0569976 New file for common PKI stuff. Not yet part of build. 2002-04-04 21:15:27 +00:00
ian.mcgreer%sun.com b1ccccd70a Land Stan changes to tip. Mostly header file / structure / API cleanup. Note
that these changes *do not* affect the current build, except for some minor edits.
2002-04-04 20:00:28 +00:00
kirk.erickson%sun.com 2144eabbcb Addresses bug 126087 (hot locks identified by Ning at Sun).
Using atomic instructions to reduce contention on slot->freeListLock
and symKey->refLock.
2002-04-04 18:30:51 +00:00
relyea%netscape.com 3b55947b03 Make sure we aren't confusing secret keys with private and public keys 2002-04-04 18:08:30 +00:00
relyea%netscape.com 7df2fc6877 Don't include the public key on a list if it doesn't exist. 2002-04-04 18:07:19 +00:00
ian.mcgreer%sun.com 03f9222af7 define nss_ZREALLOCARRAY, fix bugs in nss_ZRealloc 2002-04-04 16:14:26 +00:00
nelsonb%netscape.com 6fea29075e Back out win_rand changes. The changes used NSPR for file I/O instead
of using libc.  But some of our DLLs don't link against NSPR :-(.
2002-04-04 02:09:01 +00:00
nelsonb%netscape.com ba4e5d74fc Fix build error on NT. 2002-04-04 01:41:19 +00:00
nelsonb%netscape.com 29d5f9376c Add missing #include to fix errors on AIX. 2002-04-04 01:35:13 +00:00
nelsonb%netscape.com d3e17b1324 Remove duplicative include. arch.mk is included by config.mk. 2002-04-04 00:22:47 +00:00
nelsonb%netscape.com d378f5131e Get freebl and mpi to build for WinCE. Use NSPR for I/O in sysrand. 2002-04-04 00:19:43 +00:00
nelsonb%netscape.com e61fb92200 Fix (er, improve) Makefile dependencies for sysrand.{o,obj} 2002-04-04 00:17:17 +00:00
nelsonb%netscape.com f9e447b703 Make libSSL build for WinCE. 2002-04-04 00:14:12 +00:00
nelsonb%netscape.com 641d6a3bb9 Make libutil build for WinCE. 2002-04-04 00:11:48 +00:00
nelsonb%netscape.com 9d16425428 Warning reduction. substitute (uchar) cast for ANDing with 0xff. 2002-04-04 00:10:34 +00:00
nelsonb%netscape.com 43238a5498 Since WinCE has no command line shell, don't build cmd for it. 2002-04-04 00:03:03 +00:00
nelsonb%netscape.com 515ed51a75 Add cross-platform (WinCE) support. 2002-04-04 00:00:27 +00:00
nelsonb%netscape.com 62bcb070d8 Add WinCE suport. 2002-04-03 23:27:16 +00:00
ian.mcgreer%sun.com 067b682a97 merge branch fix for bug 115954 to tip 2002-04-03 19:22:15 +00:00
javi%netscape.com 53b314fb39 Don't include the static library util.o in all of the NSS shared libraries to prevent each shared library from getting its own copy of some of the NSS global symbols. 2002-04-03 18:29:40 +00:00
wtc%netscape.com 5915719048 Bugzilla bug 134095: removed error-handling code that's not quite correct. 2002-03-29 18:53:15 +00:00
jpierre%netscape.com b38e1cb19d Fix for 134095 - allow PKCS#11 framework to free attributes for non-const token objects 2002-03-29 07:34:22 +00:00
hewitt%netscape.com 41e544f079 110156 - renaming outliner to tree - weird cvs events causing us to lose the log for this file, sadly. if you want the old log, see Attic/nsICertOutliner.idl 2002-03-29 03:36:00 +00:00