Commit Graph

4604 Commits

Author SHA1 Message Date
nelsonb%netscape.com
99c2efd227 Change the function definitions in dev so that the ctags program will
produce valid tags from these sources.
2003-07-01 00:32:22 +00:00
wtc%netscape.com
083003b9a2 Bug 210660: backed out the main change in the fix for bug 145322 because
the adoption of session is not thread safe.  This eliminates most of the
saving of sessions, but we must be correct first, and then optimize.
r=nicolson,nelsonb.
Modified Files: pk11func.h pk11skey.c
2003-06-27 22:28:50 +00:00
nelsonb%netscape.com
c27a303c8d Fix several bugs reported in bug 210707.
Change loops over RDNs and AVAs to detect NULL pointers.
Change list of attribute type "keywords" to match RFCs and internet
drafts.
Quote attribute values strings that contain adjacent embedded blanks.
Don't quote hex string values.
Always use hex string values when type OID is unrecognized.
2003-06-27 00:33:05 +00:00
nelsonb%netscape.com
7c5e03d5f4 Move the declaration for CERT_CompareNameSpace from cert.h to genname.h
because it is a private function.  Change the interface for this
function so that it returns a SECStatus, unambiguously indicating the
success or failure of the name constraints test.  The function no
longer takes a list of cert subject names, instead, it takes a list
of cert pointers, and optionally outputs one of those pointers when
an error occurs.  This eliminates a cert reference leak.
2003-06-26 01:56:34 +00:00
nelsonb%netscape.com
7665e37260 This patch extracts rfc822 names from a cert's distinguished name at the
time when the list of cert names is being built and builds a GeneralName
out of it, just as if the rfc822 name had come from a subject alt name
extension. This way, no special handling is needed of either directory
names or rfc822 names in the name constraints code.  The special "phase 1"
loop in cert_CompareNameWithConstraints disappears compmletely.  And all
the cases in the (former phase 2) loop can now simply assert that the
name's type matches the constraint's type exactly.

This patch also factors out the code that creates new CERTGeneralNames and
that copies a single CERTGeneralName into new separate functions.  This
eliminates a lot of duplicated code whose correctness required lengthy
inspection.  Now these primitive operations are centralized.
2003-06-26 01:25:10 +00:00
bishakhabanerjee%netscape.com
ef5d950b09 enabling log scraping in header instead 2003-06-25 21:57:21 +00:00
bishakhabanerjee%netscape.com
545f6a1359 enabling log scraping in header instead, where RESULTDIRURL gets created 2003-06-25 21:56:19 +00:00
bishakhabanerjee%netscape.com
6ca298a1d2 removed new variable for Win platform - extra - don't need 2003-06-25 21:39:54 +00:00
bishakhabanerjee%netscape.com
1ee600f7ff fix URL for Windows platform 2003-06-25 20:43:18 +00:00
bishakhabanerjee%netscape.com
1b045cce39 taking out un-needed stuff 2003-06-25 17:39:38 +00:00
wtc%netscape.com
17581e0660 Shorten the clickable text portion of RESULTDIRURL. 2003-06-25 04:23:34 +00:00
bishakhabanerjee%netscape.com
2eb554c104 enabling log scraping 2003-06-25 00:55:13 +00:00
jst%netscape.com
abefba9053 Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com 2003-06-24 21:43:01 +00:00
nelsonb%netscape.com
a09e87bce0 Whitespace cleanup. This patch causes numerous lines that were wider
than 80 columns to be folded according to NSS coding conventions.
This patch does not fix any run-time error.
2003-06-23 23:15:33 +00:00
jshin%mailaps.org
a02a46efd1 bug 205649 : replace U+00E5 represented in ISO-8859-1 (0xe5) with U+00E5 in
UTF-8 in all XUL files to make them to be genuinely encoded in UTF-8. All the
changes are in comments so that this shouldn't affect anything at run-time.
(r=hwaara)
2003-06-23 13:18:12 +00:00
nelsonb%netscape.com
2ab3bc3979 CERT_EncodeGeneralName and CERT_DecodeGeneralName contain large switch
statements that repeat code for every case.  This patch factors out that
common code from the cases, making the switches much smaller and reducing
bloat.
2003-06-21 08:10:07 +00:00
nelsonb%netscape.com
66f40f98bd Cleanup CERT_GetGeneralNameByType so that it detects when it has
encountered a general name of a type that it doesn't recognize, and
so that it properly casts the return value to be of the right type.
2003-06-21 07:07:47 +00:00
nelsonb%netscape.com
9b63114ba0 The general name code uses arenas, which is good, but it never marks
and releases space in the arenas, so the arenas just grow and grow
until the test is completely over.  This patch adds comments showing
where mark and release calls could (and probably should) be added.
It also changes CERT_CopyGeneralName to have only two exit paths,
two return statements, in preparation for the eventual use of mark and
release.
2003-06-21 06:44:43 +00:00
nelsonb%netscape.com
1042ec6f88 a) Add more missing null pointer tests that I discovered. Bug 208649.
b) change all PORT_*Alloc calls that allocate new structs or arrays of
same to use the PORT_*New* macros instead.
c) ifdef out some dead functions that are rife with failure to detect
allocation failures.
2003-06-21 05:23:07 +00:00
relyea%netscape.com
663b108222 Fix deadlock bugscape 46733 2003-06-20 23:34:46 +00:00
bishakhabanerjee%netscape.com
9948f8316d sigh, another time 2003-06-20 23:24:11 +00:00
bishakhabanerjee%netscape.com
4d3b8d3282 one more time, trying to make link clickable 2003-06-20 18:36:57 +00:00
nelsonb%netscape.com
a98e4fc078 Declare src argument to SEC_ASN1DecodeItem to be const. 2003-06-20 01:52:19 +00:00
brendan%mozilla.org
e66f3155de Don't include private and unnecessary js header files. 2003-06-19 23:13:59 +00:00
bishakhabanerjee%netscape.com
bc5d5ce9dc echo out RESULTDIRURL; r=wtc 2003-06-19 23:04:25 +00:00
bishakhabanerjee%netscape.com
3d71f8851a made RESULTDIRURL clickable link; r=wtc 2003-06-19 23:03:59 +00:00
nelsonb%netscape.com
1b06e46683 Carry Wan-Teh's fix for bug 208996 forward to trunk. 2003-06-19 03:48:19 +00:00
nelsonb%netscape.com
a4f1b04288 Fix numerous more potential NULL pointer deref crashes. Bug 208038 2003-06-19 01:08:53 +00:00
bishakhabanerjee%netscape.com
05dc77c485 checking in version 1.60 with additional space 2003-06-18 19:13:11 +00:00
neil%parkwaycc.co.uk
6741a52ed1 Bug 209661 remove unnecessary NS_LITERAL_CSTRING( with ).get() r=jag sr=alecf 2003-06-18 14:31:45 +00:00
bishakhabanerjee%netscape.com
1f57ddfe70 backing out my recent changes - some platforms showing tests failed 2003-06-18 08:13:07 +00:00
bishakhabanerjee%netscape.com
709b88a2cb had to put in netscape specific unix base dir as well 2003-06-18 07:11:15 +00:00
bishakhabanerjee%netscape.com
06eeeca399 put URL specific stuff inside nscp specific loop 2003-06-18 06:02:28 +00:00
nelsonb%netscape.com
40399ce6d5 Further refinements to the Name Constraints checking logic, to make it
more compliant with RFC 3280.  Bug 208047.
2003-06-18 04:32:44 +00:00
nelsonb%netscape.com
9c76888937 Move declarations of NSS private functions for general names from cert.h
to genname.h, and eliminate declarations from cert.h that were also
in genname.h.  If we ever decide to make any of these functions public,
we can move their declarations back to cert.h.
2003-06-18 00:38:12 +00:00
nelsonb%netscape.com
bbf159fcc1 Make CERT_DecodeAVAValue take const inputs and detect NULL pointers.
Rewrite CERT_CompareAVA to compare the type OIDs first, and then if
the values are not of the same encoding, convert them before comparing.
Also, do comparisons of printableString encoding properly.  Bug 208649.
2003-06-17 23:44:14 +00:00
kaie%netscape.com
25fb5c7a14 b=209082 Certificate viewer is broken
r=danm sr=jst
2003-06-17 23:16:23 +00:00
bishakhabanerjee%netscape.com
ed88f342da modified header to print link of resultsdir to browser log 2003-06-17 21:21:33 +00:00
caillon%returnzero.com
2df173e9c8 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
kaie%netscape.com
5cb8507581 b=209168 Mozilla Mail S/Mime instructs NSS to import the wrong certs
r=relyea sr=kin
2003-06-12 20:03:40 +00:00
nelsonb%netscape.com
4bc3e0e70c const. Got it? Const! 2003-06-11 23:12:38 +00:00
seawood%netscape.com
b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
seawood%netscape.com
53d53dd6cb Removing old cfm build files. r=macdev 2003-06-10 19:03:46 +00:00
nelsonb%netscape.com
786e999bda Harden SECITEM_CompareItem against NULL pointers. 2003-06-07 03:05:49 +00:00
seawood%netscape.com
1a61e5528b Add echo-requires-recursive rule to get a full list of tree's dependencies 2003-06-06 19:21:57 +00:00
nelsonb%netscape.com
546ef9889f Rewrite of cert_CompareNameWithConstraints and the static functions it
calls, to make it conform with RFC 3280.  Bug 208047.
2003-06-06 09:12:21 +00:00
nelsonb%netscape.com
3245c4d36c Rewrite SECITEM_ItemsAreEqual to be faster when item lengths are not
equal and to not crash if an item contains a NULL data pointer.
2003-06-06 04:51:26 +00:00
nelsonb%netscape.com
95ac53508c Add new OIDs for directory name attribute types. Bug 207711. 2003-06-06 04:48:45 +00:00
nelsonb%netscape.com
216592c31b Augment and centralize the list of known cert name attribute types.
Bug 207711.
2003-06-06 01:17:04 +00:00
nelsonb%netscape.com
f4f2e9f053 Eliminate more NULL pointer dereferences. Bug 207740. 2003-06-05 04:59:38 +00:00
wtc%netscape.com
446bef339f Bug 208343: removed two Baltimore root certificates.
Modified Files: certdata.c certdata.txt
2003-06-05 00:53:27 +00:00
wtc%netscape.com
9223dbd69d Temporarily disabled the fix for bug 208177 so that we can debug bug
167825.
2003-06-04 14:49:13 +00:00
kairo%kairo.at
0b93c73eee bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard 2003-06-04 11:11:19 +00:00
nelsonb%netscape.com
9eb66804cf PORT_Alloc and PORT_ZAlloc always allocate at least one byte, even if
the caller requests zero bytes.  This patch makes PORT_ArenaAlloc
and PORT_ArenaZAlloc do the same.
2003-06-03 23:24:31 +00:00
wtc%netscape.com
196f5f2abe Bug 208177: Our HP-UX build machine has a strange problem. If a 64-bit
PA-RISC executable calls getcwd() in a network-mounted directory, it fails
with ENOENT.  Since nsinstall calls getcwd(), this breaks our 64-bit HP-UX
nightly builds.  We worked around this problem by building nsinstall as a
32-bit PA-RISC executable for 64-bit PA-RISC builds.  This checkin added a
new make variable INTERNAL_TOOLS which can be set in makefiles whose target
is a tool used only during the build.  Such a tool can be built differently
from NSS proper as long as the tool runs on the build machine.
Modified Files: HP-UXB.11.mk nsinstall/Makefile
2003-06-03 23:14:03 +00:00
ian.mcgreer%sun.com
115ea01683 bug 156256, removed unused Stan files with long names 2003-06-03 20:59:15 +00:00
wtc%netscape.com
9ad0b80e3a Bug 207379: added instructions for removing a builtin root CA cert from
NSS.
2003-06-02 23:16:51 +00:00
nelsonb%netscape.com
ba44a2b994 Back out rev 1.27, which turned verbose mode on by default for debugging
QA test script failures that only occurred on tinderbox machines.
bug 207313 is now fixed.
2003-06-02 20:39:48 +00:00
wtc%netscape.com
a2aaa0dd1a Bug 204555: Eliminated other potential crashes in code related to
certificate names.  r=wtc.  (The patch is Nelson's.)
2003-06-02 18:10:43 +00:00
nelsonb%netscape.com
d8286a7935 This patch does two things, one large and one small. Bug 207313.
1, It uses two new symbols SSOCK_FD and STDIN_FD instead of 0 and 1 to
reference members of the poll set array.  I just could never remember whether
pollset[0] was the socket or was stdin.  Now I don't have to remember.
This changes a lot of lines, but is very simple.
2. It implementa a new flag clientSpeaksFirst, set with the -f option.
The only effect of this flag is whether the value of
pollset[SSOCK_FD].in_flags is initially zero (if true) or PR_POLL_READ (if false).  Note that pollset[SSOCK_FD].in_flags is set to PR_POLL_READ after
each succesful write to the socket.
2003-06-01 03:01:39 +00:00
wtc%netscape.com
1a0ee426a9 Bug 206926: Added the makefile rule to export PRIVATE_EXPORTS headers. 2003-05-31 00:12:18 +00:00
wtc%netscape.com
ce11300ca6 Bug 206926: 1. Undo the changes to secrng.h, pqgutil.h, swfutl.c,
unix_rand.c, and win_rand.c. 2. Make secrng.h and pqgutil.h private.
3. Public header pk11pqg.h can't include private header pqgutil.h.
4. Many files don't need to include secrng.h.  A few don't need to include
pqgutil.h.  5. Remove duplicate declarations of PQG_DestroyParams and
PQG_DestroyVerify from blapi.h.
2003-05-30 23:31:32 +00:00
nelsonb%netscape.com
cc8d6b1b9f Eliminate TCP connection reset errors that occur when server requires
client auth and SSL3 client doesn't authenticate.  The fix is to coalesce
the SSL3 no_certificate alert record with the following records (e.g.
client_key_exchange handshake, change_cipher_spec and finished handshake).
Fix bugs 207313 and 118668.
2003-05-30 23:22:39 +00:00
kirk.erickson%sun.com
52f15c0d08 Resolves bug 206971 - selfserv should OptimizeSpeed (use NSS_Initialize).
Both selfserv and strsclnt no longer OptimizeSpace.  Moved SECMOD_DB
defines from nssinit.c to nss.h, make it availble for public use with
NSS_Initialize().
2003-05-30 17:25:13 +00:00
nelsonb%netscape.com
93542dbdb9 Back out rev 1.28 to test some hypotheses about bug 207313. 2003-05-30 10:06:29 +00:00
nelsonb%netscape.com
1c8bfb4eb2 Correct all the tests in which the server requires client auth, but the
client does not supply it, so that the client actually will NOT supply
it.  Previously, the client was supplying client auth in all these tests,
and the https requests were completing succesfully, when they should have
been failing.  Bug 207398.
2003-05-30 05:40:40 +00:00
nelsonb%netscape.com
85c44c32f5 Change the SSL3 stress test to disable TLS, so that it will actually
test SSL3.  Uses the new -T option recently added to strsclnt.
2003-05-30 05:38:12 +00:00
nelsonb%netscape.com
a4d31ce381 Add -3 and -T options, with same meaning as in tstclnt and selfserv,
disabling SSL3 and TLS respectively.  With this change, the QA stress
tests that say they're testing SSL3 or TLS can finally test what they
claim they are testing.
2003-05-30 05:35:52 +00:00
wtc%netscape.com
18f2adb7f6 Bugzilla 207379: removed the certificate "ValiCert OCSP Responder".
Bumped version to 1.40 (for NSS 3.9).  r=relyea.
Modified Files: certdata.c certdata.txt nssckbi.h
2003-05-29 14:26:16 +00:00
nelsonb%netscape.com
7b750ca1fb Correctly copy RDNs with empty AVA lists. Partial fix for bug 204555. 2003-05-28 21:18:09 +00:00
bishakhabanerjee%netscape.com
0d3000e0ea Adding Darwin 6.5 platform 2003-05-28 17:28:36 +00:00
nelsonb%netscape.com
8b986ea952 Fix this file to be proper http request syntax. Note: file is now a
binary file to assure identical line endings on all platforms.
2003-05-28 02:18:27 +00:00
nelsonb%netscape.com
d6507e92a9 All diagnostic output goes to stderr, not stdout. This change facilitates
investigation of bug 207313.
2003-05-28 02:11:17 +00:00
wtc%netscape.com
b10e3c77d3 Bug 206926: certcgi.c should not include blapi.h. Use the PK11_PQG_
functions instead.
2003-05-28 00:47:47 +00:00
wtc%netscape.com
f6dae5fad2 Bug 206934: use __declspec instead of _declspec. __declspec is the
documented form and the only form accepted by the MinGW compiler.  The
patch is contributed by Christopher Seawood <seawood@netscape.com>.  r=wtc.
2003-05-28 00:07:36 +00:00
wtc%netscape.com
332454d9b1 Checked in more temporary debugging code for the strange QA failure on
Windows.
2003-05-25 19:19:28 +00:00
wtc%netscape.com
0c43efe373 Enabled verbose mode temporarily for debugging a strange QA failure on
Windows.
2003-05-25 04:16:03 +00:00
wtc%netscape.com
cc344de70c Bug 206926: now that secrng.h and pqgutil.h include blapit.h instead of
blapi.h, some files that include secrng.h or pqgutil.h need to include
blapi.h directly.
Modified Files: certcgi.c swfutl.c unix_rand.c win_rand.c
2003-05-25 01:21:27 +00:00
nelsonb%netscape.com
b22ba4ae70 Fix bugs experienced with oddly constructed general names.
Partially fixes bug 204555. r=wtc a=sspitzer
2003-05-24 06:27:35 +00:00
nelsonb%netscape.com
3051c7eb48 Corrently build the array of pointers to parsed group members, even when
the group was empty.  Fixes bug 174885 and partially fixes 204555.
2003-05-24 05:57:21 +00:00
wtc%netscape.com
fc20d83b46 Include nss.h for the declaration of NSS_Shutdown. Use "" around prmem.h
and prio.h.
2003-05-24 05:23:42 +00:00
wtc%netscape.com
6022e0f192 Bug 206926: make blapi.h private. Public headers that included blapi.h
now include blapit.h.  It is necessary to make blapit.h because some
public headers and PSM use the types defined in it.  r=relyea,nelsonb.
Modified Files: cryptohi.h lib/freebl/manifest.mn secrng.h pqgutil.h
2003-05-24 03:34:55 +00:00
wtc%netscape.com
d19e740fe4 Fixed a typo in the comment. 2003-05-23 23:01:26 +00:00
timeless%mozdev.org
63bd78088c Bug 204067 Creating "@mozilla.org/nsCMSEncoder;1" and then deleting it crashes because m_ecx isn't initialized
patch by rginda r=kaie sr=kin
2003-05-23 21:55:15 +00:00
dwitte%stanford.edu
270d3909ca bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
kaie%netscape.com
4fef12376a b=168452 PSM embedding freeze/ final step/ mark interfaces as frozen
r=javi sr=alecf a=sspitzer
2003-05-23 05:58:11 +00:00
nelsonb%netscape.com
2c6eaafff6 Report the right error code for unrecognized OIDs. 2003-05-22 05:20:02 +00:00
nelsonb%netscape.com
bf4cc8f8d1 Make tstclnt interactive on Windows. Bug 206031. 2003-05-22 04:34:38 +00:00
nelsonb%netscape.com
2a90f64d20 Eliminate double-spacing of output on windows. Bug 206551. r=wtc. 2003-05-22 01:51:18 +00:00
bishakhabanerjee%netscape.com
4db86baa01 coreconf needs HP-UXB.11.22.mk to build on new HP box - bug 177984 2003-05-21 22:08:37 +00:00
dougt%meer.net
80cea543a5 Fixing memory leak. Multiple object creations clobber static allocations. b=206480, r=kaie,sr=dbaron,a=asa 2003-05-21 21:36:46 +00:00
bryner%netscape.com
23a1e5f50a Fix bug 205912, NSS rebuilds too often. Update a timestamp file in the source tree whenever client.mk pulls updates to NSS, and make a second timestamp file dependent on the first that's touched after cleaning NSS. r=seawood, sr=brendan. 2003-05-21 20:13:24 +00:00
nicolson%netscape.com
f0f344e82a update to JSS 3.4 RTM. 2003-05-19 21:44:23 +00:00
nicolson%netscape.com
822995bd0b Partial fix for 189964: support more algorithm names. 2003-05-19 18:36:38 +00:00
bryner%netscape.com
87dd5e215d Remove MOZ_PHOENIX #ifdef in nsSecurityWarningDialogs.cpp; set default security dialog prefs in all.js instead. Fixes bug 172091. Affects firebird build only. 2003-05-19 04:23:22 +00:00
nelsonb%netscape.com
e38f5daae0 If the verbose option is given twice (e.g. -vv) and the server requests
client auhtentication, tstclnt will display the server's list of trusted
client CA names.
2003-05-17 05:38:01 +00:00
nelsonb%netscape.com
9c27c51080 Add comments explaining why UMRs are not a problem. 2003-05-17 01:26:41 +00:00
nelsonb%netscape.com
af67e5022b Correct offset arithmetic for "choice" templates. Bug 161580.
Patch by wtc@netscape.com
2003-05-17 01:18:53 +00:00
nelsonb%netscape.com
5cdbf1a929 Remove MOZILLA_BSAFE_BUILD. Bug 193090. 2003-05-16 20:21:20 +00:00
nelsonb%netscape.com
28c79da0a3 Remove files that were part of MOZILLA_BSAFE_BUILD. Bug 193090. 2003-05-16 20:17:11 +00:00
nelsonb%netscape.com
08a19951bd Remove support for MOZILLA_BSAFE_BUILD. Bug 193090. 2003-05-16 20:14:59 +00:00
ian.mcgreer%sun.com
cc0baa49b7 bug 204788, DirectoryString should default to UTF8String
r=nelsonb
2003-05-15 21:24:10 +00:00
kirk.erickson%sun.com
33c3d5479c Shifted from -xO3 to -xO4 optimization under Solaris.
Resolves bug 204093.
2003-05-15 19:12:10 +00:00
jpierre%netscape.com
481bd9b8d6 Fix for bug 204015 - make strsclnt reuse token after it is unplugged . r=nelsonb 2003-05-15 17:09:19 +00:00
nelsonb%netscape.com
00eb799722 Update ssltap's list of TLS ciphersuites. Bug 201158. 2003-05-15 06:28:44 +00:00
glen.beasley%sun.com
c257837f18 201047 ssl timeouts 2003-05-14 22:34:38 +00:00
relyea%netscape.com
b09f41afd7 *** empty log message *** 2003-05-14 22:34:21 +00:00
ian.mcgreer%sun.com
ddad39cba1 bug 202838, move operations outside of slot->objectLock
r=relyea
2003-05-14 22:09:03 +00:00
wtc%netscape.com
81a3451b2b Removed an error that was mistakenly introduced in rev. 1.56. 2003-05-14 00:30:21 +00:00
nicolson%netscape.com
027947b867 Fix 205066: double-free in PK11KeyGenerator.c:constructSHA1PBAKey() 2003-05-14 00:04:02 +00:00
wtc%netscape.com
63123ca797 Bug 202593: Create slot->freeListLock and slot->sessionLock in the order
consistent with the cleanup code on error return.
2003-05-13 23:00:28 +00:00
wtc%netscape.com
837fa34b7e Bug 202593: the newly added 'lock' field in the NSSToken structure is not
being used.
2003-05-13 22:59:20 +00:00
dougt%meer.net
07ce9be0c0 Fixing Makefiles to support DEPENDENT_LIBS. r=kai, a=blizzard, b=205444 2003-05-13 18:28:40 +00:00
ian.mcgreer%sun.com
8720e22f4e bug 203049, move some operations outside of slot->slotLock
r=relyea
2003-05-12 21:32:38 +00:00
nelsonb%netscape.com
ff2431f5c0 Fix bug 202270. Eliminate a potential infinite loop. 2003-05-12 21:07:01 +00:00
wtc%netscape.com
34bce4985a Bug 205346: need to include <unistd.h> on BeOS for isatty(). Thanks to
timeless@bemail.org for the patch.
2003-05-12 19:52:44 +00:00
wtc%netscape.com
05536f8c3a Bug 205346: fixed a compiler warning about a zero-length format string for
sprintf.
2003-05-12 18:58:33 +00:00
wtc%netscape.com
4d2e0f3bbc Bug 202593 and bug 204980: fixed a recursive deadlock introduced by the
fix for bug 202593. The session returned by nssSlot_CreateSession doesn't
need its own lock.  It is either protected by a higher-level lock (the
slot or module lock) or used by only one thread throughout its lifetime.
Modified Files: dev/devslot.c pk11wrap/dev3hack.c
2003-05-10 14:21:40 +00:00
wtc%netscape.com
734e118950 Bug 204797: nssTokenObjectCache_Clear needs to lock the cache, otherwise
multiple threads could clear the cache at the same time after a token is
removed.
2003-05-10 14:19:04 +00:00
nelsonb%netscape.com
ecf80ee33f Fix bug 143426 by not freeing names in loop that traverses them.
Patch contributed by liexter@hotmail.com (liqi)
2003-05-09 23:59:18 +00:00
nicolson%netscape.com
7cd1436ceb Fix 205069: broken loop logic in PFX.java. 2003-05-09 19:02:56 +00:00
nicolson%netscape.com
36d2120328 Replace unnecessary Debug.trace() statement with a comment in the code. 2003-05-09 18:57:15 +00:00
ian.mcgreer%sun.com
f11e523f03 fix bug in last patch 2003-05-09 18:12:11 +00:00
ian.mcgreer%sun.com
8ce0ef089a bug 191757, eliminate some memcpy calls from MD5
r=nelsonb
2003-05-08 17:51:55 +00:00
kaie%netscape.com
aeb0a2f7d7 b=193170 PSM must disallow using NSS database with wrong profile
r=ccarlen sr=jag a=asa
2003-05-08 13:39:35 +00:00
wtc%netscape.com
6a8405bc5e Bug 204681: fixed build failure with MKS Toolkit on Windows XP. Handle
the more general 0x pattern instead of just 00 in the output of "uname -v".
2003-05-07 00:27:37 +00:00
nelsonb%netscape.com
8c95859745 Display an error message instead of crashing if the user forgets the -n
option with the -O (Dump Chain) option.
2003-05-06 02:50:03 +00:00
nelsonb%netscape.com
7d5a46cf84 Don't display user's password in hex. Bug 200005. 2003-05-06 02:45:12 +00:00
nelsonb%netscape.com
b5fbd35b21 Don't accept END_OF_CONTENTS octets where they're not allowed. bug 202384. 2003-05-03 06:54:48 +00:00
wtc%netscape.com
f7e98250bc Bug 204011: fixed the bug that nssPKIObjectCollection_AddInstances frees an
instance twice if add_object_instance fails.  r=mcgreer.
2003-05-02 03:01:13 +00:00
wtc%netscape.com
4c6dd71c75 Bug 203988: add build support for Linux/mips (such as Sony PlayStation 2
Linux).  The patch is contributed by Paul Pietromonaco
<ppietro@users.playstation2-linux.com>.  r=wtc.
2003-05-01 00:29:40 +00:00
bishakhabanerjee%netscape.com
b939a52974 Removed gcc warning - bug 203449 2003-04-29 23:13:33 +00:00
nicolson%netscape.com
f7123ebbf1 Improve parameter class handling. 2003-04-28 23:32:39 +00:00
nicolson%netscape.com
d72dc83313 Build with NSS 3.7.3 RTM. 2003-04-28 23:31:12 +00:00
nicolson%netscape.com
ae6470da30 Fix blackflag 619793: support RC2/CBC/PKCS5Padding. 2003-04-28 21:48:33 +00:00
nicolson%netscape.com
3d44a05368 Move to JSS 3.4 beta. 2003-04-28 21:28:00 +00:00
wtc%netscape.com
c7b24c7949 Declare the new function sec_asn1d_parent_is_indefinite as static. 2003-04-28 20:19:21 +00:00
relyea%netscape.com
ec249ebf48 replace arena grow with code that grows memory nLog n, not n! 2003-04-28 17:56:46 +00:00
nelsonb%netscape.com
d01e78b8c7 Fix two problems that together prevented NSS from reading encrypted
messages from Lotus notes.  bug 202384.
1. Choice no longer treats END_OF_CONTENTS as a missing choice.
2. The code now correctly determines whether we are in an indefinite-
length encoded constructed type.  Instead of merely looking at the
immediate parent and grandparent states, it walks the state stack
until it finds the next higher state that corresponds to a parsed
tag, ignoring inline, pointer, choice, and other non-tag states.
2003-04-26 03:41:24 +00:00
nelsonb%netscape.com
1b41efe99c Greatly enhance the debug printing done when conditionally compiled with
DEBUG_ASN1D_STATES defined.
2003-04-26 02:15:50 +00:00
nelsonb%netscape.com
fa163f8a45 Change the more recently added "choice" functions to conform to the
coding style used throughout the rest of the file.
2003-04-26 01:40:49 +00:00
ian.mcgreer%sun.com
d5aeef1f3f bug 201081, better spreading of session id hash
r=relyea
2003-04-24 18:30:12 +00:00
cls%seawood.org
8b363ed6a2 Change the naming scheme for the mingw libraries to use the following format:
static lib: libfoo.a
import lib: libfoo.dll.a
shared lib: foo.dll
Bug #134113 r=dmose
2003-04-23 00:54:38 +00:00
ian.mcgreer%sun.com
2d396349bc bug 202553, replace reference mutex with atomic calls in PK11SlotInfo
r=relyea,wtc
2003-04-22 14:11:53 +00:00
glen.beasley%sun.com
5973e1c1e8 201245 convert SecretKey to SecretKeyFacade 2003-04-21 21:38:34 +00:00
wtc%netscape.com
e50f01e0d2 Broke a long line. 2003-04-21 21:33:16 +00:00
wtc%netscape.com
31d3df7a50 Bug 134113: use "lib" as the prefix for static and import libraries in the
Win32 gcc (MinGW) build.  The patch is contributed by Chris Seawood
<cls@seawood.org>.
2003-04-21 21:03:55 +00:00
wtc%netscape.com
213a402f9d Bug 134113: make NSS build on Win32 using GCC (MinGW). The patch
(attachment 121068) is contributed by Chris Seawood (cls@seawood.org).
2003-04-20 04:23:37 +00:00
kaie%netscape.com
f8d7c8b06d b=155760 Changing content by JavaScript document.write => open insecure
lock icon
r=javi sr=peterv
2003-04-19 14:04:59 +00:00
relyea%netscape.com
c04f31a7e8 Bug 202593 NSS does not lock non-threadsafe modules correctly.
Consolidate one lock for non-thread safe modules (not one per slot).
2003-04-19 00:03:32 +00:00
relyea%netscape.com
f52040e2d1 Bug 202593 NSS does not lock non-threadsafe modules correctly.
Consolidate one lock for non-thread safe modules (not one per slot).
2003-04-19 00:03:13 +00:00
kairo%kairo.at
b6009f1e51 bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard 2003-04-17 18:43:57 +00:00
ian.mcgreer%sun.com
e04a964222 bug 198452, zero-byte memcpys
r=relyea
2003-04-17 17:05:09 +00:00
jpierre%netscape.com
3609f97d06 Fix for 202348 - check cert & key pointers returned by client auth application callback, to fix crash . r=nelsonb 2003-04-17 02:03:39 +00:00
jpierre%netscape.com
efa7db0342 Fix for 202058 - Compile source files wit absolute pathnames to ease debugging on Win32 & OS/2 2003-04-17 01:59:34 +00:00
jpierre%netscape.com
f54ce239c6 Fix for 201134 - race condition when verifying certs. Don't reset the value of nsCertType in CERTCertificate in the middle of the computation. r=nelsonb 2003-04-17 00:32:54 +00:00
wtc%netscape.com
59a795178e Bug 201808:We don't need to use _declspec(dllexport) to export
C_GetFunctionList now.  nssckbi.def takes care of that.
Modified Files: ckapi.perl nssck.api
2003-04-17 00:07:06 +00:00
wtc%netscape.com
5ca106ce02 Bug 201808: added nssckbi.def, which exports C_GetFunctionList.
Modified Files: manifest.mn
Added Files: nssckbi.def
2003-04-16 22:22:22 +00:00
nicolson%netscape.com
0aa4ee62dd Take out bogus dependency on ASN1Util. 2003-04-15 23:21:04 +00:00
jpierre%netscape.com
f81ee69b6b Fix for 202053 - signing of softokn3.dll may fail on OS/2. Force the use of OS/2 CMD.EXE default shell . r=pedemont 2003-04-15 22:42:09 +00:00
nicolson%netscape.com
91109807f8 Fix 202182: Base64InputStream throws EOFException on valid input. 2003-04-15 22:39:36 +00:00
nicolson%netscape.com
97011b8592 Catch NULL pointers before passing them to C and risking a crash.
Improve javadoc.
2003-04-15 21:55:53 +00:00
wtc%netscape.com
a5b3f9441e Bug 201555: enable stripping of EXEs on OS/2 with gcc. The LIBPATHSTRICT
change in sign.cmd is so that you can run a VACPP build when gcc is
building (otherwise shlibsign loads the wrong DLLs).  The patch is
contributed by IBM.
Modified Files:
	coreconf/OS2.mk nss/cmd/shlibsign/sign.cmd
2003-04-15 04:08:09 +00:00
wtc%netscape.com
3248bf6d78 The .chk files should have the $(DLL_PREFIX), not $(LIB_PREFIX), because
they correspond to shared libraries/DLLs.
2003-04-12 20:44:45 +00:00
bryner%netscape.com
3a3ec0cbd5 Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
kaie%netscape.com
7f4ab8fb87 b=200236 Change Master password dialog OK button disabled with matching passwords
r=javi sr=alecf
2003-04-10 18:16:22 +00:00
jpierre%netscape.com
d07c7a50f5 Fix for 201259 . Make the default client auth callback NSS_GetClientAuthData work with dual-key certs. r=nelsonb, sr=wtc 2003-04-09 22:23:10 +00:00
nicolson%netscape.com
f05b22eedd Remove misleading comment. 2003-04-09 21:30:19 +00:00
nelsonb%netscape.com
92fc1f3b0f Fix bug 200225. Don't report invalid CA cert on trusted root CAs. 2003-04-08 04:49:39 +00:00
wtc%netscape.com
7ce0258abb Set NSS version to 3.9 Beta. 2003-04-08 00:29:54 +00:00
wtc%netscape.com
afe68e3619 Bug 200974: NetBSD uses GNU ld and so also needs -rpath-link. 2003-04-07 23:52:17 +00:00
kaie%netscape.com
5157ee46bc b=50823 S/Mime: Support certificates with multiple listed email addresses
r=javi sr=alecf
2003-04-04 12:57:51 +00:00
wtc%netscape.com
55188b55c0 Backed out the previous checkin, which broke our NT nightly build. It seems
that USE_CYGWIN is set (to some strange value) under MKS shell.
2003-04-03 14:48:00 +00:00
jpierre%netscape.com
91e682d54f *** empty log message *** 2003-04-03 07:59:40 +00:00
jpierre%netscape.com
277eb23aae Fix for bug 200394 - update softoken version to 3.8 . r=wtc 2003-04-03 02:14:59 +00:00
wtc%netscape.com
bf0da69d28 Set NSS version to 3.8. 2003-04-02 23:27:01 +00:00
nelsonb%netscape.com
e2e7547270 Fix bug 200224. Eliminate null ptr dereference. 2003-04-02 23:24:01 +00:00
wtc%netscape.com
6600d04115 Import NSPR 4.3 RTM. 2003-04-02 23:22:57 +00:00
nelsonb%netscape.com
370af382ad Fix bug 95138. Make debug .EXE files with debug symbols. 2003-04-02 04:27:23 +00:00
wtc%netscape.com
c684e24248 Bug 200179: prepend, rather than overwrite, the shared library search path.
We can't assume the shared library search path is not set.
2003-04-01 22:58:26 +00:00
wtc%netscape.com
f18c2a96c5 Destroy the hash context, public key, private key, and slot so that NSS
shutdown will succeed.  r=relyea.
2003-04-01 22:47:46 +00:00
wtc%netscape.com
845b452495 Added a missing {. 2003-04-01 22:03:07 +00:00
bishakhabanerjee%netscape.com
b9eafcbc3d checking return value of NSS_Shutdown() - bug 171263 2003-04-01 19:23:18 +00:00
bishakhabanerjee%netscape.com
6d93899099 checking return value of NSS_Shutdown - bug 171263 2003-04-01 19:13:50 +00:00
bishakhabanerjee%netscape.com
65218ae3b9 checking return value of NSS_Shutdown() - bug 171263 2003-04-01 19:11:38 +00:00
bishakhabanerjee%netscape.com
8e0426802d Checking return value of NSS_Shutdown() - bug 171263 2003-04-01 19:05:56 +00:00
bishakhabanerjee%netscape.com
7bbe39697c checking return value of NSS_Shutdown() - bug 171263 2003-04-01 19:00:50 +00:00
wtc%netscape.com
71aea5f0fa Bug 180294: on OpenVMS we need to pass the C flags set in the environment
to NSS's coreconf.  The easiest way to do this is to pass Mozilla's
OS_CFLAGS (which includes those flags) to NSS as XCFLAGS. r=wtc. sr=cls.
a=asa.
2003-04-01 15:07:41 +00:00
jpierre%netscape.com
ed4c7c9bc6 Fix for 199227 - keep enumerating certs in tokens even if one token fails. r=relyea 2003-04-01 00:07:05 +00:00
wtc%netscape.com
86445ec495 Bug 195127: Turn off debugging output now that we have the AIX tinderbox
working correctly.
2003-03-29 04:30:02 +00:00
wtc%netscape.com
a68105106a Bug 199628: support shlibsign on OpenVMS. Pass $(OS_TARGET) instead of
$(IS_WINDOWS) to sign.sh and sign.cmd (which ignores that argument).  In
sign.sh, use a case statement with three cases: Windows, OpenVMS, and
others.  The patch is contributed by Colin Blakes <colin@theblakes.com>.
Modified Files: Makefile sign.cmd sign.sh
2003-03-29 00:42:43 +00:00
nelsonb%netscape.com
3f52ba47c1 Changes to enable ECC over characteristic 2^m fields.
Contribution from Vipul Gupta <Vipul.Gupta@Sun.COM>
Modified Files:
 nss/cmd/strsclnt/strsclnt.c nss/lib/cryptohi/seckey.c
 nss/lib/freebl/blapit.h nss/lib/freebl/ec.c
 nss/lib/freebl/manifest.mn nss/lib/freebl/mpi/Makefile
 nss/lib/softoken/ecdecode.c nss/lib/softoken/pkcs11.c
 nss/lib/ssl/ssl3con.c nss/lib/util/secoid.c
 nss/lib/util/secoidt.h
2003-03-29 00:18:30 +00:00
jpierre%netscape.com
7a30cd125f Backout change that broke Sun's build - requires gmake 3.79 2003-03-28 20:07:30 +00:00
jpierre%netscape.com
9a4460838f Fix for bug 105271 - compile source files with full pathnames on Windows & OS/2 to help debugging. r=wtc 2003-03-28 02:35:39 +00:00
darin%netscape.com
80fa27f6d3 landing final patch for NTLM authentication based on WIN32 SSPI API, b=159015 r=kaie sr=dbaron a=asa 2003-03-27 19:31:53 +00:00
wtc%netscape.com
032e2a412b Bug 195797: support building NSS with GCC 3.x on OS/2. The patch is
contributed by Javier Pedemonte <pedemont@us.ibm.com>.
Modified Files:
	security/coreconf/OS2.mk security/coreconf/rules.mk
	security/nss/cmd/shlibsign/sign.cmd
2003-03-27 15:40:54 +00:00
nelsonb%netscape.com
29640f53f9 Add missing return statement. 2003-03-27 03:07:47 +00:00
wtc%netscape.com
3bcaeb4a87 Bug 199134: fixed build failures on FreeBSD. We need to specify -pthread
when linking an executable (already doing that when linking a shared lib),
and we need to use the -rpath-link flag to help the linker find the
shared libraries that we indirectly link with.  r=cls.
Modified Files: coreconf/FreeBSD.mk nss/cmd/platlibs.mk
2003-03-27 01:17:28 +00:00
wtc%netscape.com
b3d9493f77 Bug 195127: set the LIBPATH environment variable (used by AIX) as absolute
pathname.  It seems that AIX caches shared libraries. If another app loaded
the same shared library earlier, the cached copy of the shared library,
including the pathname with which it was loaded, will be used.  So we need
to ensure that all apps load libsoftokn3.so with an absolute pathname so
that the pathname is correct to all apps.
2003-03-26 21:07:12 +00:00
wtc%netscape.com
6af49910b8 Removed extraneous trailing / after directory pathnames. 2003-03-26 18:30:33 +00:00
nelsonb%netscape.com
365a37032d Add support for Elliptic Curve Cryptography. Bug 195135.
Contributor(s):
* Sheueling Chang Shantz <sheueling.chang@sun.com> and
* Douglas Stebila <douglas@stebila.ca>, Sun Microsystems Laboratories
Added Files:
    GF2m_ecl.c GF2m_ecl.h mpi/mp_gf2m.c mpi/mp_gf2m.h
    mpi/tests/mptest-b.c
2003-03-26 05:03:11 +00:00
wtc%netscape.com
a98f4c0628 Bug 199082: checked in Nelson's patch, which
a) changes selfserv to test the return value from NSS_Shutdown.
b) changes SECMOD_Shutdown to set the error code SEC_ERROR_BUSY before
   returning SECFailure.
c) Adds a new function SSL_ShutdownServerSessionIDCache to ssl.h.
d) Changes selfserv to call SSL_ShutdownServerSessionIDCache before calling
NSS_Shutdown.
Modified Files:
	cmd/selfserv/selfserv.c lib/pk11wrap/pk11util.c
	lib/ssl/ssl.def lib/ssl/ssl.h lib/ssl/ssl3con.c
	lib/ssl/sslimpl.h lib/ssl/sslsnce.c
2003-03-26 00:31:13 +00:00
wtc%netscape.com
404f8fdaa9 Bug 194083: use qcc instead of gcc. The patch is contributed by
amardare@qnx.com.
2003-03-25 19:32:36 +00:00
nelsonb%netscape.com
ba8e91e37c Fix bug 198099. Display DSA public keys in certs properly. 2003-03-25 03:45:04 +00:00
timeless%mozdev.org
39a4e26773 Bug 198483 Uninitalized m_dcx causes shutdown crash [@ NSS_CMSDecoder_Cancel]
r=kaie sr=darin
2003-03-25 02:30:56 +00:00
timeless%mozdev.org
087c89d015 Bug 196352 JS_GetContextPrivate isn't used correctly
r=javi sr=heikki
2003-03-25 02:30:22 +00:00
darin%netscape.com
dd33629359 final patch for bug 198270 "Trunk crash resulting from minimo branch landing" patch=dougt r=kaie sr=darin 2003-03-25 02:17:05 +00:00
jpierre%netscape.com
edf2084f38 Fix build 2003-03-25 02:13:33 +00:00
ian.mcgreer%sun.com
26d35ef643 bug 198622, redundant memset calls 2003-03-24 22:25:52 +00:00
relyea%netscape.com
126930373b Bug 142867: pk12util needs to be able to import intermediate CA's into hw
tokens.
2003-03-24 19:09:08 +00:00
wtc%netscape.com
d525a490d6 Removed the experimental change. It did not cause the intermittent QA
failures on the "aix64" tinderbox to go away.
2003-03-23 00:16:43 +00:00
wtc%netscape.com
d05787bdc0 Deleted an obsolete comment. 2003-03-22 08:01:44 +00:00
wtc%netscape.com
c2f89c4e52 An experimental change for debugging bug 195127: on the 64-bit AIX
tinderbox the dist/${OBJDIR}/lib/libsoftokn3.chk symlink sometimes does
not get created.
2003-03-22 07:52:25 +00:00
wtc%netscape.com
e56a2b8225 Added more debugging output for bug 195127. 2003-03-22 07:46:06 +00:00
wtc%netscape.com
ff1e1c8393 Bug 198543: checked in the patch from Chris Seawood to fix BeOS bustage.
Apparently it is necessary to have LIBRARY_PATH set in the environment.
2003-03-22 02:59:26 +00:00
wtc%netscape.com
2242970351 BSD/OS seems to be using GNU ld, which needs -rpath-link to find the
implicit dependency of an explicitly lined .so at link time.
2003-03-22 01:26:58 +00:00
relyea%netscape.com
6f6bad23cb bug 168393 PK11SDR_Decrypt() does not call PK11_Authenticate() before search
for the key.
2003-03-22 00:22:26 +00:00
relyea%netscape.com
4492ee1630 bug 198470 "Cached certs not updated after token reset." r=ian.mgreer r=wtc 2003-03-22 00:18:45 +00:00
wtc%netscape.com
d6719582d1 Bug 198543: BeOS uses LIBRARY_PATH to search for shared libraries. 2003-03-21 21:33:43 +00:00
wtc%netscape.com
9d7d9e9189 Rewrote without the dirname() and basename() calls because they are not
available on some Unix platforms (e.g., BSD/OS 4.2).
2003-03-21 20:57:07 +00:00
wtc%netscape.com
e60662c072 Resurrected the workaround in revision 1.2. It may be difficult for some
OSF1 users to upgrade their C compiler to the required versions.
2003-03-21 15:10:11 +00:00
wtc%netscape.com
162937967f Bug 197890: backed out the previous checkin. For unknown reasons, the
Mozilla trunk Tinderbox machine "beast" had trouble running the cygpath
command.  It failed with the error
"can't create title mutex, Win32 error 6".
2003-03-21 06:10:31 +00:00
wtc%netscape.com
a5c5715cab Bugzilla 198461: fixed build problem on OpenBSD. The patch is contributed
by timeless@bemail.org.
2003-03-21 05:24:29 +00:00
wtc%netscape.com
c24221c822 On IRIX, dirname() and basename() are defined in -lgen. 2003-03-21 05:13:20 +00:00
wtc%netscape.com
aa67187f10 Bugzilla 198481: when using cc to build a 64-bit SPARC shared library, we
need to specify -xarch=v9.
2003-03-21 04:45:37 +00:00
wtc%netscape.com
5ecbb2e6d4 Bug 198482: OS/2 can't run sign.sh because we can't set DLL load path in
a shell script.  This patch is contributed by Michael Kaply
<mkaply@us.ibm.com>.
Modified Files: Makefile
Added Files: sign.cmd
2003-03-21 03:48:11 +00:00
wtc%netscape.com
47c8a2f084 Bugzilla 198481: fixed all build problems with gcc on Solaris.
1. Removed the workarounds we put in before -- hardcoding LD to
/usr/ccs/bin/ld and passing the -B/usr/ccs/bin/ flag to gcc.
2. Use the compiler, $(CC), to build shared libraries.
3. If gcc is used, determine whether gcc uses GNU ld or Solaris
ld and set the new make variable GCC_USE_GNU_LD accordingly.
Modified Files:
	coreconf/SunOS5.mk nss/cmd/platlibs.mk nss/lib/freebl/Makefile
2003-03-21 03:31:00 +00:00
relyea%netscape.com
9f0836d49e Add OID Definition for AOL screenname attribute. 2003-03-20 23:53:39 +00:00
wtc%netscape.com
ba7bdf8f1c White space change simply to cause the Mozilla tinderboxes to rebuild. 2003-03-20 23:12:43 +00:00
wtc%netscape.com
ba9ab2ca5a Backed out the .nss_cleaned hack checked in in rev. 1.43. It didn't work
as expected. r=cls.
2003-03-20 23:03:06 +00:00
wtc%netscape.com
062436a9a3 Bug 197877: PSM makefile changes for NSS 3.8 -- 1. need to build the new
NSS tool shlibsign and generate the .chk files with it. 2. need to install
the .chk files in the appropriate directories. r=kaie. sr=bryner.
2003-03-20 18:03:22 +00:00
wtc%netscape.com
0dbe724559 Bug 195127: added temporary debugging output. 2003-03-20 02:00:40 +00:00
wtc%netscape.com
88232d00e6 Bug 58221: don't use strlen to check if a string is of length 0. 2003-03-19 06:37:03 +00:00
wtc%netscape.com
c078ee6cdc Bug 58221: don't use strlen to check if a string is of length 0. 2003-03-19 06:30:12 +00:00
nicolson%netscape.com
bbedcf3afe Fix 198125: PK11Signature.engineUpdateNative ignores offset and length. 2003-03-19 00:57:29 +00:00
wtc%netscape.com
20e6a3d1ec Bug 197890: use Cygwin's cygpath command to "escape" a pathname with a
drive letter for Cygwin's bash.
2003-03-18 14:48:09 +00:00
nelsonb%netscape.com
de78b20e51 Fix type mismatches in return values that were breaking gcc builds.
No bug number.
2003-03-18 03:24:59 +00:00
wtc%netscape.com
d26ae8d600 Bug 197890: Eliminated the artificial dependency of all NSS cmd tools on
zlib.  Only some of them (modutil and signtool) need zlib and we now define
that dependency explicitly.  In shlibsign/sign.sh, escape the drive letter
if the pathname contains it and we are using Cygwin so that the pathname
does not contain any colon, which is the PATH separator in Cygwin. r=relyea
Modified Files: platlibs.mk modutil/manifest.mn shlibsign/sign.sh
	signtool/manifest.mn
2003-03-17 21:48:18 +00:00
dougt%netscape.com
0d2808c511 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
relyea%netscape.com
abfd3a64f2 Make indention style consistant with SSL's usage, not softoken/pk11 usage. 2003-03-13 16:36:43 +00:00
wtc%netscape.com
79ff346dcb Bug 197147: removed an invalid/unnecessary comparison of two
PRIntervalTimes in pk11_InDelayPeriod.
2003-03-13 01:16:00 +00:00
relyea%netscape.com
d9b9435a62 Allow for tokens that don't require login. bug 197082 2003-03-12 19:22:32 +00:00
kirk.erickson%sun.com
9e574da214 Made 'seconds' argument to '-L' optional.
Updated Usage with '-L [seconds]' syntax, and default value (30).
2003-03-12 02:40:43 +00:00
jpierre%netscape.com
52ed6170ab Fix for 192590 - add ability to encode NSSCMSRecipientInfo . r=javi, wtc 2003-03-11 03:38:54 +00:00
wtc%netscape.com
5fc33ad0f7 Bug 196776: the 'src' argument to the ASN.1 encoding functions should be
declared 'const'.
Modified Files: secasn1.h secasn1e.c
2003-03-11 02:31:16 +00:00
kirk.erickson%sun.com
f8b88eb3bd Shifted optimization level on Solaris to -xO3 (bug 122974). 2003-03-11 01:18:31 +00:00
jpierre%netscape.com
322b4851d6 Fix for bug 175167 - don't use mark & release in QuickDER decoder . r=wtc 2003-03-07 01:13:22 +00:00
wtc%netscape.com
4df4c061fc Bug 118832: with the removal of the crmfi.h inclusion, CRMFEncryptedKey
becomes an incomplete type, and aCC on HP-UX does not allow using
static_cast to cast a pointer to an incomplete type to void *.  Use
implicit conversion of a data pointer to void * instead. r=kaie. sr=dbaron.
2003-03-06 15:04:46 +00:00
relyea%netscape.com
7b8dfc1a95 remove last references to TraverseCerts by removing depricated functions with call it. r=wtc 2003-03-05 21:46:20 +00:00
relyea%netscape.com
62acf06bc9 Remove external use of SEC_TraversePermCerts(). Bug 130968. 2003-03-05 01:04:33 +00:00