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

4431 Коммитов

Автор SHA1 Сообщение Дата
brendan%mozilla.org b969bf4b64 Don't include private and unnecessary js header files. 2003-06-19 23:13:59 +00:00
bishakhabanerjee%netscape.com 6e7873e60b echo out RESULTDIRURL; r=wtc 2003-06-19 23:04:25 +00:00
bishakhabanerjee%netscape.com 2350158b22 made RESULTDIRURL clickable link; r=wtc 2003-06-19 23:03:59 +00:00
nelsonb%netscape.com 3d80fd68c8 Carry Wan-Teh's fix for bug 208996 forward to trunk. 2003-06-19 03:48:19 +00:00
nelsonb%netscape.com 1b8ef33451 Fix numerous more potential NULL pointer deref crashes. Bug 208038 2003-06-19 01:08:53 +00:00
bishakhabanerjee%netscape.com c10a03ec6a checking in version 1.60 with additional space 2003-06-18 19:13:11 +00:00
neil%parkwaycc.co.uk 4e44c2364d Bug 209661 remove unnecessary NS_LITERAL_CSTRING( with ).get() r=jag sr=alecf 2003-06-18 14:31:45 +00:00
bishakhabanerjee%netscape.com 7fe19d8d55 backing out my recent changes - some platforms showing tests failed 2003-06-18 08:13:07 +00:00
bishakhabanerjee%netscape.com ffece90162 had to put in netscape specific unix base dir as well 2003-06-18 07:11:15 +00:00
bishakhabanerjee%netscape.com 42f215d88f put URL specific stuff inside nscp specific loop 2003-06-18 06:02:28 +00:00
nelsonb%netscape.com 4e4909c4db 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 1674961d5e 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 b7d5426a55 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 6b7628ab46 b=209082 Certificate viewer is broken
r=danm sr=jst
2003-06-17 23:16:23 +00:00
bishakhabanerjee%netscape.com 8770abe071 modified header to print link of resultsdir to browser log 2003-06-17 21:21:33 +00:00
caillon%returnzero.com ba75de772b 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 e2f19a7070 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 0d1f5df277 const. Got it? Const! 2003-06-11 23:12:38 +00:00
seawood%netscape.com 6934dc37a9 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 fa4bc3aeac Removing old cfm build files. r=macdev 2003-06-10 19:03:46 +00:00
nelsonb%netscape.com 2b945570e0 Harden SECITEM_CompareItem against NULL pointers. 2003-06-07 03:05:49 +00:00
seawood%netscape.com 95192f3460 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 24f3d87aec 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 42c05f5adf 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 67066de273 Add new OIDs for directory name attribute types. Bug 207711. 2003-06-06 04:48:45 +00:00
nelsonb%netscape.com d88e22d7a7 Augment and centralize the list of known cert name attribute types.
Bug 207711.
2003-06-06 01:17:04 +00:00
nelsonb%netscape.com ea8360788d Eliminate more NULL pointer dereferences. Bug 207740. 2003-06-05 04:59:38 +00:00
wtc%netscape.com a37c36f1a7 Bug 208343: removed two Baltimore root certificates.
Modified Files: certdata.c certdata.txt
2003-06-05 00:53:27 +00:00
wtc%netscape.com 6ab8b20067 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 108ef75354 bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard 2003-06-04 11:11:19 +00:00
nelsonb%netscape.com 81e3889b8f 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 70fd6c9c78 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 9ea284e156 bug 156256, removed unused Stan files with long names 2003-06-03 20:59:15 +00:00
wtc%netscape.com 6a94e6afc1 Bug 207379: added instructions for removing a builtin root CA cert from
NSS.
2003-06-02 23:16:51 +00:00
nelsonb%netscape.com 3deaa56778 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 712fea2e39 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 bf31f92133 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 34fcdc2566 Bug 206926: Added the makefile rule to export PRIVATE_EXPORTS headers. 2003-05-31 00:12:18 +00:00
wtc%netscape.com bebd4ac34e 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 072b028b11 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 c7f2b76a30 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 2ede35f2c3 Back out rev 1.28 to test some hypotheses about bug 207313. 2003-05-30 10:06:29 +00:00
nelsonb%netscape.com 01d479d131 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 772d71205a 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 c8b735a8c3 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 4b13346f0d 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 8576f4ea62 Correctly copy RDNs with empty AVA lists. Partial fix for bug 204555. 2003-05-28 21:18:09 +00:00
bishakhabanerjee%netscape.com ba98042a1a Adding Darwin 6.5 platform 2003-05-28 17:28:36 +00:00
nelsonb%netscape.com 1e2859edec 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 92993f0ad4 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 2a87d0d523 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 710239c9ca 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 a5136af537 Checked in more temporary debugging code for the strange QA failure on
Windows.
2003-05-25 19:19:28 +00:00
wtc%netscape.com f85e9f91a8 Enabled verbose mode temporarily for debugging a strange QA failure on
Windows.
2003-05-25 04:16:03 +00:00
wtc%netscape.com dd3c7fb4fe 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 3f9a09add1 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 32142748e9 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 cb71ea9601 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 01eb2b316f 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 e7b42b7c8d Fixed a typo in the comment. 2003-05-23 23:01:26 +00:00
timeless%mozdev.org 4b6c99ba60 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 149f719c00 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 aec6c77d26 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 33da453eca Report the right error code for unrecognized OIDs. 2003-05-22 05:20:02 +00:00
nelsonb%netscape.com 409587a472 Make tstclnt interactive on Windows. Bug 206031. 2003-05-22 04:34:38 +00:00
nelsonb%netscape.com e9a18c8d67 Eliminate double-spacing of output on windows. Bug 206551. r=wtc. 2003-05-22 01:51:18 +00:00
bishakhabanerjee%netscape.com 6b75dc22a3 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 cfe22ef6ed 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 aca94e5f5c 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 a1766026ec update to JSS 3.4 RTM. 2003-05-19 21:44:23 +00:00
nicolson%netscape.com bf4e7b2c83 Partial fix for 189964: support more algorithm names. 2003-05-19 18:36:38 +00:00
bryner%netscape.com 5eb8cc5f7c 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 7c9e3ae16a 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 db009648c6 Add comments explaining why UMRs are not a problem. 2003-05-17 01:26:41 +00:00
nelsonb%netscape.com 88601a07fa Correct offset arithmetic for "choice" templates. Bug 161580.
Patch by wtc@netscape.com
2003-05-17 01:18:53 +00:00
nelsonb%netscape.com 23d01e2ae6 Remove MOZILLA_BSAFE_BUILD. Bug 193090. 2003-05-16 20:21:20 +00:00
nelsonb%netscape.com f00ea64eba Remove files that were part of MOZILLA_BSAFE_BUILD. Bug 193090. 2003-05-16 20:17:11 +00:00
nelsonb%netscape.com 3f12350ff9 Remove support for MOZILLA_BSAFE_BUILD. Bug 193090. 2003-05-16 20:14:59 +00:00
ian.mcgreer%sun.com d155870200 bug 204788, DirectoryString should default to UTF8String
r=nelsonb
2003-05-15 21:24:10 +00:00
kirk.erickson%sun.com 596f1103a6 Shifted from -xO3 to -xO4 optimization under Solaris.
Resolves bug 204093.
2003-05-15 19:12:10 +00:00
jpierre%netscape.com 903e186861 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 4395ffebed Update ssltap's list of TLS ciphersuites. Bug 201158. 2003-05-15 06:28:44 +00:00
glen.beasley%sun.com 193d888612 201047 ssl timeouts 2003-05-14 22:34:38 +00:00
relyea%netscape.com 54018823e7 *** empty log message *** 2003-05-14 22:34:21 +00:00
ian.mcgreer%sun.com 71a9d575b6 bug 202838, move operations outside of slot->objectLock
r=relyea
2003-05-14 22:09:03 +00:00
wtc%netscape.com 9ac2e427d3 Removed an error that was mistakenly introduced in rev. 1.56. 2003-05-14 00:30:21 +00:00
nicolson%netscape.com b7e4279032 Fix 205066: double-free in PK11KeyGenerator.c:constructSHA1PBAKey() 2003-05-14 00:04:02 +00:00
wtc%netscape.com 59b6a2fe5b 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 2efa58870a 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 e7648a5336 Fixing Makefiles to support DEPENDENT_LIBS. r=kai, a=blizzard, b=205444 2003-05-13 18:28:40 +00:00
ian.mcgreer%sun.com 565dc5f8df bug 203049, move some operations outside of slot->slotLock
r=relyea
2003-05-12 21:32:38 +00:00
nelsonb%netscape.com 5c85975408 Fix bug 202270. Eliminate a potential infinite loop. 2003-05-12 21:07:01 +00:00
wtc%netscape.com 9165ddce88 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 06cc999c61 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 a10abe7fb3 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 e270a63b63 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 d687496b6b 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 84b6fcb28d Fix 205069: broken loop logic in PFX.java. 2003-05-09 19:02:56 +00:00
nicolson%netscape.com bbd2773941 Replace unnecessary Debug.trace() statement with a comment in the code. 2003-05-09 18:57:15 +00:00
ian.mcgreer%sun.com e987ab5834 fix bug in last patch 2003-05-09 18:12:11 +00:00