2700 Commits

Author SHA1 Message Date
wtc%netscape.com
c8c128b326 Bug 134113: make NSS build on Win32 using GCC (MinGW). The patch
(attachment 121068) is contributed by Chris Seawood (cls@seawood.org).


git-svn-id: svn://10.0.0.236/trunk@141471 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-20 04:23:37 +00:00
relyea%netscape.com
8c8b121199 Bug 202593 NSS does not lock non-threadsafe modules correctly.
Consolidate one lock for non-thread safe modules (not one per slot).


git-svn-id: svn://10.0.0.236/trunk@141422 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 00:03:32 +00:00
relyea%netscape.com
ce10045446 Bug 202593 NSS does not lock non-threadsafe modules correctly.
Consolidate one lock for non-thread safe modules (not one per slot).


git-svn-id: svn://10.0.0.236/trunk@141421 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 00:03:13 +00:00
ian.mcgreer%sun.com
99621600c3 bug 198452, zero-byte memcpys
r=relyea


git-svn-id: svn://10.0.0.236/trunk@141320 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 17:06:12 +00:00
jpierre%netscape.com
5f94baad22 Fix for 202348 - check cert & key pointers returned by client auth application callback, to fix crash . r=nelsonb
git-svn-id: svn://10.0.0.236/trunk@141286 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 02:04:24 +00:00
jpierre%netscape.com
151353c3d6 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
git-svn-id: svn://10.0.0.236/trunk@141280 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 00:35:21 +00:00
wtc%netscape.com
db28d37237 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


git-svn-id: svn://10.0.0.236/trunk@141277 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 00:07:06 +00:00
wtc%netscape.com
8a19d35d8d Bug 201808: added nssckbi.def, which exports C_GetFunctionList.
Modified Files: manifest.mn
Added Files: nssckbi.def


git-svn-id: svn://10.0.0.236/trunk@141268 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 22:22:22 +00:00
jpierre%netscape.com
c37d53d2ef Fix for 202053 - signing of softokn3.dll may fail on OS/2. Force the use of OS/2 CMD.EXE default shell . r=pedemont
git-svn-id: svn://10.0.0.236/trunk@141203 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 22:42:09 +00:00
wtc%netscape.com
8f09580ad7 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


git-svn-id: svn://10.0.0.236/trunk@141158 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 04:08:09 +00:00
wtc%netscape.com
249c42dc3c The .chk files should have the $(DLL_PREFIX), not $(LIB_PREFIX), because
they correspond to shared libraries/DLLs.


git-svn-id: svn://10.0.0.236/trunk@141069 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-12 20:44:45 +00:00
jpierre%netscape.com
baac831b29 Fix for 201259 . Make the default client auth callback NSS_GetClientAuthData work with dual-key certs. r=nelsonb, sr=wtc
git-svn-id: svn://10.0.0.236/trunk@140939 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 22:23:10 +00:00
nelsonb%netscape.com
b6dbfb57e6 Fix bug 200225. Don't report invalid CA cert on trusted root CAs.
git-svn-id: svn://10.0.0.236/trunk@140834 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 04:49:39 +00:00
wtc%netscape.com
9d7dd946bb Set NSS version to 3.9 Beta.
git-svn-id: svn://10.0.0.236/trunk@140828 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 00:29:54 +00:00
wtc%netscape.com
6342e79c74 Bug 200974: NetBSD uses GNU ld and so also needs -rpath-link.
git-svn-id: svn://10.0.0.236/trunk@140820 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-07 23:52:17 +00:00
jpierre%netscape.com
4fee6e0099 Fix for bug 200394 - update softoken version to 3.8 . r=wtc
git-svn-id: svn://10.0.0.236/trunk@140627 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 02:14:59 +00:00
wtc%netscape.com
6b2c3a64bc Set NSS version to 3.8.
git-svn-id: svn://10.0.0.236/trunk@140610 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 23:27:01 +00:00
nelsonb%netscape.com
18a74c3e7d Fix bug 200224. Eliminate null ptr dereference.
git-svn-id: svn://10.0.0.236/trunk@140609 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 23:24:01 +00:00
wtc%netscape.com
5ed07d3263 Import NSPR 4.3 RTM.
git-svn-id: svn://10.0.0.236/trunk@140608 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 23:22:57 +00:00
wtc%netscape.com
fc422e4a26 Bug 200179: prepend, rather than overwrite, the shared library search path.
We can't assume the shared library search path is not set.


git-svn-id: svn://10.0.0.236/trunk@140515 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 22:58:26 +00:00
wtc%netscape.com
9296eb32ef Destroy the hash context, public key, private key, and slot so that NSS
shutdown will succeed.  r=relyea.


git-svn-id: svn://10.0.0.236/trunk@140513 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 22:47:46 +00:00
wtc%netscape.com
cddd1bbf95 Added a missing {.
git-svn-id: svn://10.0.0.236/trunk@140508 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 22:03:07 +00:00
bishakhabanerjee%netscape.com
6fca4967af checking return value of NSS_Shutdown() - bug 171263
git-svn-id: svn://10.0.0.236/trunk@140495 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 19:23:18 +00:00
bishakhabanerjee%netscape.com
d6412757ef checking return value of NSS_Shutdown - bug 171263
git-svn-id: svn://10.0.0.236/trunk@140494 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 19:13:50 +00:00
bishakhabanerjee%netscape.com
ac79db828b checking return value of NSS_Shutdown() - bug 171263
git-svn-id: svn://10.0.0.236/trunk@140493 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 19:11:38 +00:00
bishakhabanerjee%netscape.com
5e867ccb38 Checking return value of NSS_Shutdown() - bug 171263
git-svn-id: svn://10.0.0.236/trunk@140492 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 19:05:56 +00:00
bishakhabanerjee%netscape.com
13a14f2095 checking return value of NSS_Shutdown() - bug 171263
git-svn-id: svn://10.0.0.236/trunk@140491 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 19:00:50 +00:00
jpierre%netscape.com
131f7d48f3 Fix for 199227 - keep enumerating certs in tokens even if one token fails. r=relyea
git-svn-id: svn://10.0.0.236/trunk@140472 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 00:07:05 +00:00
wtc%netscape.com
2095d68050 Bug 195127: Turn off debugging output now that we have the AIX tinderbox
working correctly.


git-svn-id: svn://10.0.0.236/trunk@140434 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-29 04:30:02 +00:00
wtc%netscape.com
fc00da000f 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


git-svn-id: svn://10.0.0.236/trunk@140431 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-29 00:42:43 +00:00
nelsonb%netscape.com
faa5b981f5 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


git-svn-id: svn://10.0.0.236/trunk@140430 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-29 00:18:30 +00:00
wtc%netscape.com
ad60ccb5b5 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


git-svn-id: svn://10.0.0.236/trunk@140388 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 15:40:54 +00:00
nelsonb%netscape.com
06d3adf3af Add missing return statement.
git-svn-id: svn://10.0.0.236/trunk@140378 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 03:07:47 +00:00
wtc%netscape.com
cd468dfb31 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


git-svn-id: svn://10.0.0.236/trunk@140370 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 01:17:28 +00:00
wtc%netscape.com
8704a591e4 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.


git-svn-id: svn://10.0.0.236/trunk@140356 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 21:07:12 +00:00
wtc%netscape.com
08b4edbe77 Removed extraneous trailing / after directory pathnames.
git-svn-id: svn://10.0.0.236/trunk@140353 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 18:30:33 +00:00
nelsonb%netscape.com
e1a6768967 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


git-svn-id: svn://10.0.0.236/trunk@140335 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 05:03:11 +00:00
wtc%netscape.com
ede99124e6 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


git-svn-id: svn://10.0.0.236/trunk@140305 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 00:31:13 +00:00
nelsonb%netscape.com
a5c825f716 Fix bug 198099. Display DSA public keys in certs properly.
git-svn-id: svn://10.0.0.236/trunk@140211 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 03:45:04 +00:00
jpierre%netscape.com
15f8615291 Fix build
git-svn-id: svn://10.0.0.236/trunk@140197 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 02:13:33 +00:00
ian.mcgreer%sun.com
4703bb8197 bug 198622, redundant memset calls
git-svn-id: svn://10.0.0.236/trunk@140167 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 22:25:52 +00:00
relyea%netscape.com
65773f5b59 Bug 142867: pk12util needs to be able to import intermediate CA's into hw
tokens.


git-svn-id: svn://10.0.0.236/trunk@140152 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 19:09:08 +00:00
wtc%netscape.com
4e2185eea8 Removed the experimental change. It did not cause the intermittent QA
failures on the "aix64" tinderbox to go away.


git-svn-id: svn://10.0.0.236/trunk@140085 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-23 00:16:43 +00:00
wtc%netscape.com
8927f1667d Deleted an obsolete comment.
git-svn-id: svn://10.0.0.236/trunk@140050 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 08:01:44 +00:00
wtc%netscape.com
f04efc4615 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.


git-svn-id: svn://10.0.0.236/trunk@140048 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 07:52:25 +00:00
wtc%netscape.com
28a51094a0 Added more debugging output for bug 195127.
git-svn-id: svn://10.0.0.236/trunk@140047 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 07:46:06 +00:00
wtc%netscape.com
e8ed431f38 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.


git-svn-id: svn://10.0.0.236/trunk@140027 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 02:59:26 +00:00
wtc%netscape.com
2ae7855a95 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.


git-svn-id: svn://10.0.0.236/trunk@140011 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 01:26:58 +00:00
relyea%netscape.com
03ea77acd9 bug 168393 PK11SDR_Decrypt() does not call PK11_Authenticate() before search
for the key.


git-svn-id: svn://10.0.0.236/trunk@140000 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 00:22:26 +00:00
relyea%netscape.com
40ae953e7d bug 198470 "Cached certs not updated after token reset." r=ian.mgreer r=wtc
git-svn-id: svn://10.0.0.236/trunk@139999 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 00:18:45 +00:00