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

47 Коммитов

Автор SHA1 Сообщение Дата
gerv%gerv.net 2cdff0bb4f Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-25 15:03:26 +00:00
nelsonb%netscape.com 8704f98c04 NSC_Finalize will now destroy 3 softoken free lists and one more
global pointer.  Plugs some memory leaks.  Bugscape bug 54301. r=wtc
2003-12-06 06:41:51 +00:00
bishakhabanerjee%netscape.com 9b590c4f17 Bug 213903: removing unused variables 'delold', 'save', 'entry' 2003-07-28 22:55:16 +00:00
relyea%netscape.com 7c7ae26998 Bug 185245. including wtc's comments.
Don't reference memory beyond the end the the data element when decoding a
SubjectEntry. Prevents crashes from corrupted Subject Entries.
2003-03-05 01:02:03 +00:00
nelsonb%netscape.com e7ff335e8c Remove unreferenced local variables from functions. 2003-02-07 05:08:01 +00:00
wtc%netscape.com 12a72288a3 Bug 145029: fixed compiler warnings (mostly "xxx might be used
uninitialized").
2003-01-17 02:49:11 +00:00
relyea%netscape.com b2f0cd3e28 backport NSS 3.7 fixes to the tip. 2003-01-09 18:15:11 +00:00
relyea%netscape.com cd008946a6 Increment the tmpbuf pointer to the correct index point 2002-12-13 19:02:13 +00:00
wtc%netscape.com dcf06adbf8 Bug 181878: fixed two more bugs in the new code to support multiple email
addresses per certificate.  r=nelsonb.
2002-11-27 01:28:03 +00:00
relyea%netscape.com 7415bef4e9 More review changes,
Fix incorrect return in pcertdb.c
2002-11-26 22:14:56 +00:00
relyea%netscape.com f8616133e5 Incorporate Terry's and Nelson's reviews. 2002-11-26 18:27:25 +00:00
nelsonb%netscape.com 45f8bf2425 Back out my last change. 2002-11-26 07:07:20 +00:00
nelsonb%netscape.com 6f7aad8486 Eliminate bug due to uninitialized variable index. Eliminate leak.
Remove lots of warnings about signed/unsigned and assigning int to uchar.
2002-11-26 05:58:51 +00:00
relyea%netscape.com 6a88119773 Bug 181878 allow multiple email addresses to point to a single subject record. 2002-11-26 00:13:54 +00:00
relyea%netscape.com faebb28e1e Multi-access database race condition patches. These changes are already checked
into NSS 3.6.1.
2002-11-11 22:00:03 +00:00
relyea%netscape.com 1cacdab8cb 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.
2002-11-04 19:31:59 +00:00
wtc%netscape.com a1f6cb7783 The blob db shim code (bug 162023) introduced a crash (bug 167615) so
disable it for NSS 3.6 Beta1.
2002-09-12 23:17:35 +00:00
wtc%netscape.com b7abf3a369 Bugs 166734 and 166785: fixed compiler warnings reported by gcc on Linux.
The patch for this checkin is attached to bug 166785.
2002-09-06 00:27:52 +00:00
relyea%netscape.com fb49326803 handle dbm blobs withouth stressing libdbm. 2002-08-28 21:51:10 +00:00
relyea%netscape.com fc447dbc65 1) fix crl memory.
2) remove several memory copies in the crl.
2002-08-21 00:09:23 +00:00
relyea%netscape.com 8a63e2ef9d Automatically recover from database corruptions when importing new certs. 2002-07-16 16:44:22 +00:00
relyea%netscape.com 40f89278ca Fix solaris signed/unsigned warnings.
On updating nicknames, create a nickname record if one doesn't exist (that is
somehow the database got corrupted).
2002-07-13 02:45:04 +00:00
relyea%netscape.com dab9832efb Don't delete the nickname entry until we go to delete the subject entry as well. 2002-07-10 01:04:10 +00:00
relyea%netscape.com 2691dfaecb More performance improvements in listing certs:
1) reduce more short term memory allocate/frees.
	2) remove sha1 hash calculations from critical paths.
	3) when listing user certs, skip decoding of non-user certs.
2002-07-02 15:11:29 +00:00
relyea%netscape.com 52a3e39f51 Initialize type fields to supress purify uninitialized reference warnings. 2002-06-28 03:00:10 +00:00
relyea%netscape.com 360a5def46 More performance improvements for PK11ListCerts/ CERT_GetUserCertByUsage(). 2002-06-24 21:54:41 +00:00
relyea%netscape.com 74259157e1 Patches to reduce the cost of getting attributes on certs or finding certs in lists. 2002-06-20 18:46:47 +00:00
relyea%netscape.com 65efceafe9 Add transactions to the database update portion of the code. 2002-06-13 23:25:37 +00:00
relyea%netscape.com 77c8edd9e2 Missing component when deleting should not be fatal 2002-05-21 21:26:14 +00:00
relyea%netscape.com d41f575216 Argh. I thought I had compiled this! fixe compile errors. 2002-05-16 20:48:27 +00:00
relyea%netscape.com 7252fee64d Add Transactions (still need to add transactions on database upgrade).
Make trust objects their own objects to reduce a couple of unnecessary cert decodes.
2002-05-16 20:39:04 +00:00
relyea%netscape.com 18b58745a8 Write the nickname entry as well when adding a nickname to a bug. 2002-04-26 01:09:21 +00:00
relyea%netscape.com a7e963e5f6 Add database update capabilities to NSS softoken for multi-access database. 2002-04-08 23:37:49 +00:00
relyea%netscape.com 904e0c4fd1 Multi-access database changes. 2002-04-05 09:17:51 +00:00
nelsonb%netscape.com 1bbe17eef6 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
relyea%netscape.com c55125bdd6 Fix searching code so it can find CRL's 2002-01-31 00:16:29 +00:00
relyea%netscape.com 0b8fb8f0d7 Too agressive on fixing leaks;). This one isn't a leak.
bob
2002-01-24 21:33:51 +00:00
relyea%netscape.com 65b7f7d46b Fix memory leaks. 2002-01-24 00:26:29 +00:00
relyea%netscape.com c3ca8a1a48 Fix memory like in readSMimeEntry 2002-01-23 01:44:22 +00:00
ian.mcgreer%sun.com e45f8c2b70 more backwards compatibility fixes
* always send DER of serial number to PKCS#11 queries
* in softoken, construct key for certificate using decoded serial number with (possibly) a leading zero, for compatibility with version 7 db
* in softoken, decode serial number *without* removing leading zero for searches
2002-01-17 00:20:53 +00:00
ian.mcgreer%sun.com b987645c50 Fix for serial numbers which are negative when intrepreted as signed integers. Since the ASN.1 encoder now add/strips leading zeros to INTEGERs, the hand decoder written here will incorrectly decode serial numbers passed to it that have leading zeros. 2002-01-15 15:43:35 +00:00
ian.mcgreer%sun.com 0be1bc0424 dbhandle needs to be set for subject list certs to work 2001-12-17 13:43:10 +00:00
relyea%netscape.com 7bfd9c97ec Clean up compilier warnings on Solaris and Linux, most particularly:
1) Implicit declaration of function.
2) Possibly unitialized variables.

These warnings have indicated some real problems in the code, so many changes
are not just to silence the warnings, but to fix the problems. Others were
inocuous, but the warnings were silenced to reduce the noise.
2001-12-07 01:36:25 +00:00
ian.mcgreer%sun.com 7e3deea6bd patches to get s/mime dual key certs working, bug 113741 2001-12-06 18:21:38 +00:00
relyea%netscape.com ae6092e18d Fix several memory leaks.
Adjust the default hash sizes down for mozilla client.
Merge the NSS 3.3 key check and signature check stuff.
2001-11-30 23:24:35 +00:00
relyea%netscape.com 71d7ecaba2 performance optimizations:
1) add serial number index to trust lookups.
2) add code for replacing key db indexing (coded but not turned on -- causes a keydb upgrade, but can run with older key db's as well).
2001-11-15 23:04:41 +00:00
relyea%netscape.com e03f762c52 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.
2001-11-08 00:15:51 +00:00