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

4444 Коммитов

Автор SHA1 Сообщение Дата
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
ian.mcgreer%sun.com 1da4936552 bug 191757, eliminate some memcpy calls from MD5
r=nelsonb
2003-05-08 17:51:55 +00:00
kaie%netscape.com a30fe94a59 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 34dac70182 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 73a7a4ca5f 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 ed795df0c3 Don't display user's password in hex. Bug 200005. 2003-05-06 02:45:12 +00:00
nelsonb%netscape.com 014484fb3f 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 18afa81190 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 285685a94f 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 d30d2f04a9 Removed gcc warning - bug 203449 2003-04-29 23:13:33 +00:00
nicolson%netscape.com 33f9314e1c Improve parameter class handling. 2003-04-28 23:32:39 +00:00
nicolson%netscape.com 673009de15 Build with NSS 3.7.3 RTM. 2003-04-28 23:31:12 +00:00
nicolson%netscape.com 7f171ff2aa Fix blackflag 619793: support RC2/CBC/PKCS5Padding. 2003-04-28 21:48:33 +00:00
nicolson%netscape.com 1e2d9de718 Move to JSS 3.4 beta. 2003-04-28 21:28:00 +00:00
wtc%netscape.com c3847878a0 Declare the new function sec_asn1d_parent_is_indefinite as static. 2003-04-28 20:19:21 +00:00
relyea%netscape.com f0c2b639dd replace arena grow with code that grows memory nLog n, not n! 2003-04-28 17:56:46 +00:00
nelsonb%netscape.com 064ff5e88d 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 18ffdb1f98 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 882e317938 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 937bec27c0 bug 201081, better spreading of session id hash
r=relyea
2003-04-24 18:30:12 +00:00
cls%seawood.org ec0eb750a2 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 ff5beff781 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 bceb6e8e90 201245 convert SecretKey to SecretKeyFacade 2003-04-21 21:38:34 +00:00
wtc%netscape.com 86b2cf367f Broke a long line. 2003-04-21 21:33:16 +00:00
wtc%netscape.com 6345631a99 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 890ecf85d2 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 8a87e924dd 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 f11a7a6813 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 0d76497e84 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 0978e17a8a bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard 2003-04-17 18:43:57 +00:00
ian.mcgreer%sun.com 368029417d bug 198452, zero-byte memcpys
r=relyea
2003-04-17 17:05:09 +00:00
jpierre%netscape.com e5e7ae2540 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 587a893855 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 c4b4a8dbb9 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 b1fa33d277 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 d476b191aa 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 cae35890e9 Take out bogus dependency on ASN1Util. 2003-04-15 23:21:04 +00:00
jpierre%netscape.com 8e9032b6de 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 ba0cf6a4d7 Fix 202182: Base64InputStream throws EOFException on valid input. 2003-04-15 22:39:36 +00:00
nicolson%netscape.com 48e3bcebb1 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 56054249da 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 47768abcf7 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 4d3b825ffa 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 1d976ea382 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 04f618e4d1 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 ac35f550f4 Remove misleading comment. 2003-04-09 21:30:19 +00:00
nelsonb%netscape.com f65819ed32 Fix bug 200225. Don't report invalid CA cert on trusted root CAs. 2003-04-08 04:49:39 +00:00
wtc%netscape.com 2524841c6d Set NSS version to 3.9 Beta. 2003-04-08 00:29:54 +00:00
wtc%netscape.com 6eef066c5b Bug 200974: NetBSD uses GNU ld and so also needs -rpath-link. 2003-04-07 23:52:17 +00:00
kaie%netscape.com 7f319292df 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 4627ba7a34 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 717f28d62b *** empty log message *** 2003-04-03 07:59:40 +00:00
jpierre%netscape.com a953022637 Fix for bug 200394 - update softoken version to 3.8 . r=wtc 2003-04-03 02:14:59 +00:00
wtc%netscape.com e6a808e01e Set NSS version to 3.8. 2003-04-02 23:27:01 +00:00
nelsonb%netscape.com 84db79731c Fix bug 200224. Eliminate null ptr dereference. 2003-04-02 23:24:01 +00:00
wtc%netscape.com cd7a968a67 Import NSPR 4.3 RTM. 2003-04-02 23:22:57 +00:00
nelsonb%netscape.com 8a6801f0fe Fix bug 95138. Make debug .EXE files with debug symbols. 2003-04-02 04:27:23 +00:00
wtc%netscape.com d92f79a4d6 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 08505503e5 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 8e7b2d5896 Added a missing {. 2003-04-01 22:03:07 +00:00
bishakhabanerjee%netscape.com bd0947dad5 checking return value of NSS_Shutdown() - bug 171263 2003-04-01 19:23:18 +00:00
bishakhabanerjee%netscape.com 680857dd96 checking return value of NSS_Shutdown - bug 171263 2003-04-01 19:13:50 +00:00
bishakhabanerjee%netscape.com 0eb8144a44 checking return value of NSS_Shutdown() - bug 171263 2003-04-01 19:11:38 +00:00
bishakhabanerjee%netscape.com 648c40a01e Checking return value of NSS_Shutdown() - bug 171263 2003-04-01 19:05:56 +00:00
bishakhabanerjee%netscape.com d863d8633f checking return value of NSS_Shutdown() - bug 171263 2003-04-01 19:00:50 +00:00
wtc%netscape.com 39243d2acf 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 a772bc1075 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 f430edde06 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 f101c77399 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 0f451fa946 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 37e98be036 Backout change that broke Sun's build - requires gmake 3.79 2003-03-28 20:07:30 +00:00
jpierre%netscape.com 492b2f677f 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 66d2e3f995 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 863a8d106e 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 6215d0ea7f Add missing return statement. 2003-03-27 03:07:47 +00:00
wtc%netscape.com 7452fc6021 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 8abc036ff5 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 ffa45bb3d5 Removed extraneous trailing / after directory pathnames. 2003-03-26 18:30:33 +00:00
nelsonb%netscape.com 6d0b871174 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 5fa3007c43 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 666bc35aa8 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 6fa1295b3a Fix bug 198099. Display DSA public keys in certs properly. 2003-03-25 03:45:04 +00:00
timeless%mozdev.org a9cd0398f3 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 663581cf1d Bug 196352 JS_GetContextPrivate isn't used correctly
r=javi sr=heikki
2003-03-25 02:30:22 +00:00
darin%netscape.com ee32c19ea0 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 1dda713ef1 Fix build 2003-03-25 02:13:33 +00:00
ian.mcgreer%sun.com 853f67123e bug 198622, redundant memset calls 2003-03-24 22:25:52 +00:00
relyea%netscape.com 24df80f866 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 f906970555 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 7d5a549784 Deleted an obsolete comment. 2003-03-22 08:01:44 +00:00
wtc%netscape.com af16248797 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 2bf9cb3f60 Added more debugging output for bug 195127. 2003-03-22 07:46:06 +00:00
wtc%netscape.com 48629bc614 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 893b5e6ec4 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 5fddce79bd 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 3a231a715d 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 0dc1ca96c0 Bug 198543: BeOS uses LIBRARY_PATH to search for shared libraries. 2003-03-21 21:33:43 +00:00
wtc%netscape.com 2924b7de7e 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 5c817e6aa2 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 741b6aa630 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 419689f00c 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 817ccffe16 On IRIX, dirname() and basename() are defined in -lgen. 2003-03-21 05:13:20 +00:00
wtc%netscape.com dd2958fda2 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 a93c36bf22 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 97578420c2 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 65b322e3e9 Add OID Definition for AOL screenname attribute. 2003-03-20 23:53:39 +00:00
wtc%netscape.com 548bf161dc White space change simply to cause the Mozilla tinderboxes to rebuild. 2003-03-20 23:12:43 +00:00
wtc%netscape.com b6459fddea 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 4237fb8119 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 0dd45a89f1 Bug 195127: added temporary debugging output. 2003-03-20 02:00:40 +00:00
wtc%netscape.com 615653a02f 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 78ac357c09 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 1fe952b490 Fix 198125: PK11Signature.engineUpdateNative ignores offset and length. 2003-03-19 00:57:29 +00:00
wtc%netscape.com b2bd059285 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 1040fa5786 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 b5648cc904 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 be629223b6 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 d57e9ab5b7 Make indention style consistant with SSL's usage, not softoken/pk11 usage. 2003-03-13 16:36:43 +00:00
wtc%netscape.com 6c4e221cc7 Bug 197147: removed an invalid/unnecessary comparison of two
PRIntervalTimes in pk11_InDelayPeriod.
2003-03-13 01:16:00 +00:00
relyea%netscape.com bc3ae9a59d Allow for tokens that don't require login. bug 197082 2003-03-12 19:22:32 +00:00
kirk.erickson%sun.com 3a1698b77b 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 a0deb9ee05 Fix for 192590 - add ability to encode NSSCMSRecipientInfo . r=javi, wtc 2003-03-11 03:38:54 +00:00
wtc%netscape.com f7e1ad24fe 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 8ebb681aaf Shifted optimization level on Solaris to -xO3 (bug 122974). 2003-03-11 01:18:31 +00:00
jpierre%netscape.com 379e743c92 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 756e8dcab5 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 7718d6cb68 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 61a584ed08 Remove external use of SEC_TraversePermCerts(). Bug 130968. 2003-03-05 01:04:33 +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
relyea%netscape.com c635402806 Fix memory leaks. (roll fixes from 3.7 BRANCH). 2003-03-05 00:59:36 +00:00
relyea%netscape.com 1730c69cc7 Incorporate wtc comment from bug 19061 (removal of commented code). 2003-03-04 23:11:09 +00:00
relyea%netscape.com 46ee0eea31 bug 162976: make crl update atomic. Set up new Crl with a new Object ID which is different from the old one. 2003-03-04 22:36:27 +00:00
relyea%netscape.com 72f513f7ef Bug 162976. Make CRL updates 'atomic' . Insert new CRL before deleting the
old one.b
2003-03-04 22:34:56 +00:00
relyea%netscape.com df2b3f1e6e Print all the certs for a given nickname, not just the first. 2003-03-04 22:32:24 +00:00
relyea%netscape.com be7d152cb3 Fix QA failures on tip (don't dereference through a NULL pointer). 2003-03-03 19:46:22 +00:00
wtc%netscape.com ac86d72617 Bug 195127: 1. Enable DEBUG_SHVERIFY. 2. Added debug output to print the
file name if PR_Open fails.
2003-03-01 01:53:11 +00:00
relyea%netscape.com 26e539e088 bug 19590
RFE:Add ability to encode/decode NSSCMSRecipientInfo structures

r=javi,wtc
2003-02-28 23:32:29 +00:00
ian.mcgreer%sun.com 64a832e0e7 bug 177556, signtool -l fails
r=wtc
2003-02-28 21:14:36 +00:00
ian.mcgreer%sun.com cccb7a3f68 bug 191757, InitOIDHash() not threadsafe
r=relyea
2003-02-28 21:13:20 +00:00
bolian.yin%sun.com 67a96671aa Bug 194821, Page Info: add access keys for _H_elp button, and _V_iew in Security tab
r=db48x, sr=jaggernaut, patch by jessie.li@sun.com.
2003-02-28 11:20:20 +00:00
wtc%netscape.com d31cd6e89d Bug 195196: fixed a typo. 2003-02-27 14:49:30 +00:00
nelsonb%netscape.com 42fae25f24 Add support for Elliptic Curve Cryptography. Bug 195135.
Modified Files:
 	cmd/lib/SECerrs.h cmd/selfserv/selfserv.c
 	cmd/tstclnt/tstclnt.c lib/cryptohi/keyhi.h
 	lib/cryptohi/keythi.h lib/cryptohi/seckey.c
 	lib/cryptohi/secvfy.c lib/freebl/Makefile lib/freebl/blapi.h
 	lib/freebl/blapit.h lib/freebl/ldvector.c lib/freebl/loader.c
 	lib/freebl/loader.h lib/freebl/manifest.mn lib/nss/nss.def
 	lib/pk11wrap/pk11skey.c lib/pk11wrap/pk11slot.c
 	lib/softoken/lowkeyti.h lib/softoken/manifest.mn
 	lib/softoken/pkcs11.c lib/softoken/pkcs11c.c
 	lib/softoken/pkcs11t.h lib/ssl/ssl3con.c lib/ssl/ssl3prot.h
 	lib/ssl/sslcon.c lib/ssl/sslenum.c lib/ssl/sslimpl.h
 	lib/ssl/sslinfo.c lib/ssl/sslproto.h lib/ssl/sslsecur.c
 	lib/ssl/sslsock.c lib/ssl/sslt.h lib/util/secerr.h
 	lib/util/secoid.c lib/util/secoidt.h
Added Files:
 	lib/freebl/GFp_ecl.c lib/freebl/GFp_ecl.h lib/freebl/ec.c
 	lib/freebl/ec.h lib/softoken/ecdecode.c
2003-02-27 01:31:38 +00:00
kairo%kairo.at 11348f5311 bug 194924 - localeVersion update for 1.4a, r=rchen, sr=blizzard 2003-02-27 00:05:44 +00:00
nelsonb%netscape.com 66f7b8cddb Add missing dependency on error headers. 2003-02-26 23:52:40 +00:00
nelsonb%netscape.com e7a02a41a4 Fix bug 194840. Get new random seed before each attempt to sign with DSA. 2003-02-25 23:45:23 +00:00
kirk.erickson%sun.com 1fb9fd4cdd Addresses bug 193378 modutil should print an error message,
by printing error on SECMOD_DeleteInternalModule() failure.
2003-02-25 02:09:11 +00:00
wtc%netscape.com 6d5833f249 Bug 190537: build OS/2 DLLs using the map files to control symbol export.
The patch is contributed by Javier Pedemonte <pedemont@us.ibm.com>.
Modified files: coreconf/OS2.mk coreconf/rules.mk nss/lib/ckfw/nssck.api
2003-02-25 01:40:04 +00:00
pete.zha%sun.com 29f051b1d6 bug=193068
Missing accesskeys in preference dialogs
r=timeless sr=jaggernaut@netscape.com
2003-02-24 07:59:17 +00:00
robin.lu%sun.com 0203ef6893 fixed bug 149841 It should NOT be possible to open cert manager twice at the same time. r=kaie sr=alecf 2003-02-24 07:07:13 +00:00
wtc%netscape.com 0bff47a153 Simplified the test for substrings. 2003-02-22 15:20:07 +00:00
varga%netscape.com 0d0ab083d9 Fix for bug 192365. Remove extraneous seltype="multiple" attributes of <tree>s in xul.
r=varga, sr=jag, patch by Daniel Crisman <bugzilla@w.d6.org>
2003-02-22 11:48:19 +00:00
mscott%netscape.com 105486968a ACK this wasn't meant for the trunk. File wasn't tagged properly. Sorry. backing out. 2003-02-22 02:35:31 +00:00
mscott%netscape.com 47ae6e0aab hide ftp channel when building minotaur 2003-02-22 02:22:51 +00:00
nelsonb%netscape.com 95525c28a1 Fix bug 160207. Make TLS implementation resistant to timing attacks on
CBC block mode cipher suites in TLS.  See bug for details.
2003-02-21 23:00:16 +00:00
wtc%netscape.com d97151bee3 Bug 194309: cvs removed libpath.c because the freebl_GetLibraryFilePathname
function has been replaced by the new NSPR 4.3 function
PR_GetLibraryFilePathname.
2003-02-21 02:40:52 +00:00
wtc%netscape.com c6ada6f97b Bug 194309: replaced freebl_GetLibraryFilePathname by the new NSPR 4.3
function PR_GetLibraryFilePathname.
Modified files: config.mk manifest.mn shvfy.c
2003-02-21 00:41:24 +00:00
mkaply%us.ibm.com 176876e10c OS/2 bustage - PR_CALLBACK 2003-02-20 19:09:43 +00:00
wtc%netscape.com 1d3e993c7a Bug 194222: Removed SECMOD_CallOnce. It is replaced by the new NSPR 4.3
function PR_CallOnceWithArg.
Modified files: nss/nssinit.c pk11wrap/pk11cert.c pk11wrap/secmodi.h
2003-02-20 16:58:57 +00:00
wtc%netscape.com b7882c433d Bug 118832: do not include NSS private header files. "genname.h" is simply
not needed.  "crmfi.h" can be avoided by using the public function
CRMF_EncodeCertReqMessages.  r=kaie. sr=bryner. a=asa for mozilla 1.3.
Modified Files: Makefile.in nsCrypto.cpp nsNSSIOLayer.cpp
2003-02-20 14:56:10 +00:00
sonja.mirtitsch%sun.com 57ec96bba5 writing actual return of modutil to output.log, bug 193394 r=wtc 2003-02-20 00:52:40 +00:00
kaie%netscape.com 1f21ec5ceb b=173369 Migrating NSS databases from the "CFM" build to the "mach-o" build
r=javi sr=peterv a=asa
2003-02-20 00:19:45 +00:00
sonja.mirtitsch%sun.com a79dc7f765 echoing modutil commandline to output.log, bug 193394 r=wtc 2003-02-19 23:26:52 +00:00
sonja.mirtitsch%sun.com 1945c33989 switching the NSPR version to v4.3-beta1 2003-02-19 23:21:23 +00:00
jpierre%netscape.com 4c5cf50f52 Patch for 193961 - incorporate Wan-Teh's feedback 2003-02-19 21:50:49 +00:00
wtc%netscape.com c210ab5523 Bug 190960: added the DHE ciphersuites back because the underlying NSS bug
(bug 188856) that broke them has been fixed. r=kaie. sr=bryner. a=asa for
mozilla1.3.
Modified Files:
	netwerk/base/public/security-prefs.js
	security/manager/pki/resources/content/ssl3tlsciphers2.xul
	security/manager/pki/resources/locale/en-US/pref-ssl.dtd
	security/manager/ssl/src/nsNSSComponent.cpp
2003-02-19 15:08:50 +00:00
jpierre%netscape.com cc0db2005f Fix for bug 193691 . Make QuickDER return an error rather than assert if extraneous data is present in the buffer 2003-02-19 02:29:48 +00:00
thayes%netscape.com 1f3f0e69ef Bug 192639: Use utility functions for managing token passwords so that
cmsutil will prompt for the value if it is not given on the command line.
r=nelsonb
2003-02-19 00:39:39 +00:00
wtc%netscape.com 3d0a1f67b4 Bug 193367: do not call PR_Now() in a loop. r=nelsonb. 2003-02-18 23:26:39 +00:00
ian.mcgreer%sun.com d84324a740 bug 174200, don't attempt to decode cert when destroying it, handle failure
to decode cert serial number
r=nelsonb
2003-02-18 20:53:14 +00:00
wtc%netscape.com a44277fff4 Add DHE algorithms to the list. (Merged relyea's checkin (rev. 1.3.2.1)
from the NSS_3_7_BRANCH to the trunk.)
2003-02-18 02:53:54 +00:00
wtc%netscape.com 442aeeb97a Bug 188856: it is not necessary to declare 'crv' in these blocks because it
is already declared in the outer scope.
2003-02-18 02:47:04 +00:00
wtc%netscape.com 60391f57be Bug 192617: export NSS_CMSRecipientInfo_Wrap/UnwrapBulkKey from the smime3
shared library.
2003-02-18 00:45:34 +00:00
wtc%netscape.com 91857ca5bd Bug 134967: handle spaces and hyphens in $(USERNAME). Convert them to
underscores.  r=seawood@netscape.com.
2003-02-15 20:39:01 +00:00
wtc%netscape.com 43ac537225 Bug 193055: the "cat ${file} | while read ...do ... done" construct does
not work under MKS Korn shell on Windows XP.  Replaced it by the equivalent
construct "while read ... do ... done < ${file}".
2003-02-15 04:48:13 +00:00
relyea%netscape.com b13bd23954 Bug 167756. Address Nelson's review comments. remove socket specific latency
in favor of a slot specific latency test (already done by pk11wrap code).
2003-02-15 01:21:25 +00:00
relyea%netscape.com ff5dbf2eed bug193367: Don't blindly copy all the certs from a given S/MIME message into the db. 2003-02-15 00:23:04 +00:00
sonja.mirtitsch%sun.com bf0426a4ab bug 193394, change to check returncode of modutil after switching to
fips mode, r=wtc
2003-02-14 21:30:45 +00:00
wtc%netscape.com 74b8cae5f0 There should be no token after #endif. 2003-02-14 05:32:35 +00:00
kirk.erickson%sun.com 5c579360c2 Changed License: MPL to MPL/GPL. 2003-02-13 18:24:07 +00:00
relyea%netscape.com 69ce67aba4 Turn off debugging output now that we have the tinderboxen working correctly. 2003-02-13 17:41:45 +00:00
kirk.erickson%sun.com 2908f09255 Added softokn3 library, and the new integrity check files. 2003-02-13 03:30:19 +00:00
wtc%netscape.com 973801b199 Bug 193057: add WINNT5.1_* symlinks in mozilla/dist for Windows XP QA. 2003-02-13 01:45:01 +00:00
relyea%netscape.com 6270df5573 Turn off the mangle test for now. 2003-02-12 22:21:59 +00:00
kirk.erickson%sun.com f1af545d36 Removed extraneous ` from PRODUCT_VERSION. 2003-02-12 16:12:14 +00:00
wtc%netscape.com 684c1663ec Bug 107976: allow CC to be overridden (with the full pathname of the C
compiler) on the make command line.
Modified files: AIX.mk ruleset.mk
2003-02-11 01:15:36 +00:00
relyea%netscape.com 2d128d88e2 Always free the key reference passed to us from the client 2003-02-10 22:36:45 +00:00
kirk.erickson%sun.com 9d79e728d1 Resolves bug 191221, by adding dynamic versioning for Solaris. 2003-02-10 18:18:52 +00:00
wtc%netscape.com 165f568bae Bug 131826: backed out the zlib 1.1.4 upgrade because the signtool tests
failed.
Modified Files:
	README adler32.c compress.c crc32.c deflate.c deflate.h
	example.c gzio.c infblock.c infblock.h infcodes.c infcodes.h
	inffast.c inffast.h inflate.c inftrees.c inftrees.h infutil.c
	infutil.h minigzip.c trees.c uncompr.c zconf.h zlib.h zutil.c
	zutil.h
2003-02-08 15:00:13 +00:00