Commit Graph

548 Commits

Author SHA1 Message Date
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
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
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
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
nelsonb%netscape.com
ba8e91e37c Fix bug 198099. Display DSA public keys in certs properly. 2003-03-25 03:45:04 +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
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
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
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
c24221c822 On IRIX, dirname() and basename() are defined in -lgen. 2003-03-21 05:13:20 +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
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
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
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
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
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
df524309b9 Incorporate wtc comment from bug 19061 (removal of commented code). 2003-03-04 23:11:09 +00:00
relyea%netscape.com
c339a0b104 Print all the certs for a given nickname, not just the first. 2003-03-04 22:32:24 +00:00
ian.mcgreer%sun.com
dd7d756307 bug 177556, signtool -l fails
r=wtc
2003-02-28 21:14:36 +00:00
nelsonb%netscape.com
f87129ad87 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
nelsonb%netscape.com
83101081ca Add missing dependency on error headers. 2003-02-26 23:52:40 +00:00
kirk.erickson%sun.com
58e6df6d02 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
e82f9dbda9 Simplified the test for substrings. 2003-02-22 15:20:07 +00:00
thayes%netscape.com
a74f0fa8b2 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
03d1089088 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
ada7b251c4 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
wtc%netscape.com
22417a7df4 Bug 131826: checked in the README file of zlib 1.1.4. 2003-02-08 09:10:36 +00:00
wtc%netscape.com
305ac614c0 Bug 131826: upgraded to zlib 1.1.4.
Modified Files:
	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 08:50:42 +00:00
wtc%netscape.com
80d543aa32 Bug 131826: added maketree.c from zlib 1.1.4. 2003-02-08 08:37:00 +00:00
wtc%netscape.com
9d38af738e Removed unused files stubs.c and zip_nodl.c. 2003-02-08 08:35:07 +00:00
wtc%netscape.com
a301d47f42 Bug 131826: added new header files from zlib 1.1.4.
Added Files: trees.h inffixed.h
2003-02-08 08:30:11 +00:00
relyea%netscape.com
ab77a6c23c Sigh, the QA scripts look for the word 'failed', but it's common that we
can't open the shared library and isn't a real failure, so change the wording
2003-02-08 01:52:37 +00:00
wtc%netscape.com
5076009554 Exit with 1 rather than -1 on failure. Make sure the program exit with 1
on all failures. Remove the symlink, if a file/symlink by that name already
exists, before creating it to avoid the EEXIST error.
2003-02-07 23:41:15 +00:00
wtc%netscape.com
d84be87533 Use <> around standard/system header files. This file does not need
string.h, but it should include stdio.h because it uses fprintf and printf.
2003-02-07 23:21:53 +00:00
relyea%netscape.com
7903049797 Fix signed/unsigned display issue.
Add more loggin information on errors (rev 1.3 added this but lost it's log).
2003-02-07 23:05:07 +00:00
relyea%netscape.com
d07389a152 *** empty log message *** 2003-02-07 23:02:43 +00:00
relyea%netscape.com
e196a4143b Add Mangle logging... 2003-02-07 21:12:26 +00:00
wtc%netscape.com
3da1c11d28 Moved the definition of MD_LIB_RELEASE_FILES from manifest.mn to Makefile
so that it is right next to the definition of CHECKLOC, which it uses.
2003-02-06 22:37:37 +00:00
relyea%netscape.com
0022c47e93 Mangle will be changing the shared libraries, so it should link with them. 2003-02-06 18:18:42 +00:00
wtc%netscape.com
d12037cd31 Bug 177387: Put the configuration/assignments before the rules in Makefile.
Define MD_LIB_RELEASE_FILES in manifest.mn so that the *.chk files are
included in the mdbinary.jar files generated by the release target.
2003-02-06 16:56:46 +00:00
wtc%netscape.com
d7d81c7883 Support both ";" and ":" as PATH separators on Windows. MKS Korn shell
uses ";" but Cygwin bash uses ":".
2003-02-06 14:52:43 +00:00