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

1293 Коммитов

Автор SHA1 Сообщение Дата
thayes%netscape.com 75236f3e70 Add PK11TokenDB IDL 2001-02-06 22:52:10 +00:00
javi%netscape.com 7413ff9c90 Make the Bundle methods non-static. This is the first of 2 parts.
The next part fix will create a private interface for looking up
the nsNSSComponent from the callbacks instead of type-casting
nsISecurityManagerComponent pointer.
2001-02-06 20:09:27 +00:00
mcgreer%netscape.com fd21d51ac0 bug 67132. certutil crashes on -C -x combination, deny it for now.
certutil -C was not recognizing the -a (ascii) option, implement it.
r=wtc
2001-02-06 18:26:30 +00:00
javi%netscape.com 7500eb15e2 Remove references to coreconf from the Makefile for building
pipnss
2001-02-06 02:44:15 +00:00
relyea%netscape.com 754aa76974 Bug 67501: Fix suggested by Nelson. Make '-d' option work again in sdrtest. 2001-02-06 01:05:21 +00:00
relyea%netscape.com cf6576713c Bug 67068. Fix Crash in SECMOD_Shutdown. reviewed by wtc. 2001-02-06 00:11:24 +00:00
relyea%netscape.com 5ecfed8476 Fix error value to return a less misleading generic error when the bignum libraries fail 2001-02-06 00:09:54 +00:00
bryner%uiuc.edu ba958523a0 Bug 67507 - implement TLSStepUp(). r=javi. Not part of build. 2001-02-05 21:46:24 +00:00
wtc%netscape.com 35a6328ccf Bugzilla bug #62855: remembered the right way to have OS/2 include a
single OS2.mk for all OS releases.
Modified files: arch.mk, config.mk
2001-02-04 06:09:52 +00:00
wtc%netscape.com c9bc7f855d Bugzilla bug #60143: checked in OpenVMS patch from Colin Blake
<colin@theblakes.com>.
Modified Files:
	coreconf/OpenVMS.mk coreconf/arch.mk coreconf/rules.mk
	coreconf/ruleset.mk nss/cmd/lib/secpwd.c nss/lib/nss/nss.h
	nss/lib/nss/nssinit.c
2001-02-04 05:52:42 +00:00
mcgreer%netscape.com e47ad91c2f get pk12util working with shared libs. Change ciphersuites to
be disabled by default to allow user control.  Export a couple
more functions to allow ciphersuite preferences.
2001-02-02 15:24:29 +00:00
wtc%netscape.com 359c4e9284 Bugzilla bug #63768: removed references to the obsolete make variable
PURE_LIBRARY in PSM files.  Reviewed by Javier Delgadillo.
Modified files: psm/lib/client/config.mk, psm/lib/client/sample/config.mk,
psm/lib/protocol/config.mk
2001-02-02 04:13:10 +00:00
wtc%netscape.com 3a43941274 Bugzilla bug #63768: removed references to obsolete make variables
HAVE_PURIFY and PURE_LIBRARY in JSS files.  Reviewed by James Nicolson.
Modified files: jss/config/libnames.mk, jss/lib/config.mk, jss/lib/rules.mk
2001-02-02 02:34:26 +00:00
wtc%netscape.com fb9dfd69f3 Bugzilla bug #63768: removed references to the obsolete PURE_LIBRARY,
HAVE_PURIFY etc. make variables in NSS files.  Reviewed by nelson Bolyard.
Modified Files:
	cmd/platrules.mk cmd/crmf-cgi/config.mk cmd/crmftest/config.mk
	cmd/lib/config.mk cmd/zlib/config.mk lib/base/config.mk
	lib/certdb/config.mk lib/certhigh/config.mk lib/ckfw/config.mk
	lib/crmf/config.mk lib/cryptohi/config.mk
	lib/fortcrypt/swfort/config.mk lib/freebl/config.mk
	lib/jar/config.mk lib/nss/config.mk lib/pk11wrap/config.mk
	lib/pkcs12/config.mk lib/pkcs7/config.mk lib/smime/config.mk
	lib/softoken/config.mk lib/ssl/config.mk lib/util/config.mk
2001-02-02 01:49:57 +00:00
wtc%netscape.com 159ce91a4e Bugzilla bug #62855: added rule to build import libraries on OS/2. Thanks
to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Modified files: OS2.mk, rules.mk, ruleset.mk
2001-02-02 01:17:58 +00:00
javi%netscape.com 4f4c5823f6 First Checked In. 2001-02-01 21:59:09 +00:00
javi%netscape.com cfbcb20147 I couldn't figure out why the ConvertMacPathToUnixPath symbol is no longer exported by the NSPR library, so we'll include our implementation in the meantime. 2001-02-01 21:54:22 +00:00
javi%netscape.com 7538eb6ad3 Bring projects up to date for NSS 3.2 2001-02-01 21:52:03 +00:00
relyea%netscape.com 4f926d7877 Add code to shutdown the PKCS #11 subsystem so NSS can be called to switch profiles. 2001-02-01 19:09:23 +00:00
relyea%netscape.com 848edbb92c remove cdbhdl.h and recode. bug 64206 reviewed by wtc. 2001-02-01 19:05:10 +00:00
wtc%netscape.com 039b921879 Bugzilla bug #62855: make the rule to build .cpp files work for OS/2
VACPP.  Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
2001-02-01 18:19:47 +00:00
relyea%netscape.com 8bb8d0cc73 remove cdbhdl.h bug 64260 reviewed by wtc. 2001-02-01 18:09:50 +00:00
bryner%uiuc.edu 124d914a66 Make pipnss's version of nsSecureBrowserUIImpl support weak refs, as was already done to psm-glue. r=thayes. 2001-02-01 03:25:48 +00:00
kirke%netscape.com e6db1539df Resolved merge conflict with Ian. 2001-02-01 01:29:04 +00:00
kirke%netscape.com 5960080b78 Fixed bogus tab introduced by my previous checkin. 2001-02-01 00:57:26 +00:00
wtc%netscape.com 82eb89e6d0 Bugzilla bug #62855: added stubs for the SSL session cache functions so
that selfserv can link without unresolved symbols on OS/2.
2001-01-31 23:43:47 +00:00
kirke%netscape.com 1fc2a5ed5a Resolves bug 66244 - Many NSS command do not detect failure of NSS_Init* functions. Introduced SECU_PrintPRandOSError(progName); to print on failure. Each command is responsible for exiting with appropriate status to distinguish failure points. 2001-01-31 23:25:02 +00:00
wtc%netscape.com d298691348 Bugzilla bug #54711: OS/2 does not need to build nsinstall. 2001-01-31 23:21:28 +00:00
wtc%netscape.com 8d6ae849d0 Bugzilla bug #62855: checked in OS/2 makefile patches from Javier
Pedemonte <pedemont@us.ibm.com>.
Modified Files:
	coreconf/OS2.mk coreconf/arch.mk coreconf/prefix.mk
	coreconf/rules.mk coreconf/suffix.mk nss/Makefile
	nss/cmd/platlibs.mk nss/lib/ckfw/builtins/config.mk
2001-01-31 21:29:31 +00:00
wtc%netscape.com 04242819d4 I found that #include <unistd.h> is still needed on Unix for getpid(). 2001-01-31 19:18:09 +00:00
wtc%netscape.com 3b35a98af6 Bugzilla bug #62855: checked in OS/2 patches from Javier Pedemonte
<pedemont@us.ibm.com>.
Modified files: selfserv.c, swfutl.c, os2_rand.c.
2001-01-31 19:09:48 +00:00
wtc%netscape.com e6000468f1 Bugzilla bug #62855: do not use the XP_PC macro. Use XP_WIN16 when we mean
Win 16.  Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
2001-01-31 18:27:15 +00:00
thayes%netscape.com 4dea78ce93 Reorganize password callback context (uses nsIInterfaceRequestor).
Fix several bugs in the SDR implementation.
2001-01-31 18:03:49 +00:00
wtc%netscape.com 1a4cebe15b Bugzilla bug #67122: put PR_CALLBACK after the return type in function
declarations.  This is the order required by OS/2 compilers.  Thanks to
Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Modified files: hashops.c, tracker.c, certt.h, oid.c.
2001-01-31 18:01:53 +00:00
mcgreer%netscape.com b31c755088 bug 67100, memory leaks in rsa.c and pqg.c fixed. 2001-01-31 15:49:19 +00:00
wtc%netscape.com 5334548540 Backed out the previous checkin as it requires
sec_port_ucs4_utf8_conversion_function and
sec_port_ucs2_utf8_conversion_function be exported on Unix.
2001-01-31 03:44:43 +00:00
wtc%netscape.com 1568621522 We can just pass NULL as the 'envp' argument to PR_CreateProcess, so we
do not need to get the declaration of 'environ' on Unix.  Reviewed by
Nelson Bolyard.
2001-01-31 03:39:59 +00:00
nelsonb%netscape.com 81c10353d3 Fix memory leak in mpp_make_prime. Bug 67094. 2001-01-31 00:37:40 +00:00
wtc%netscape.com c476a28be9 Bugzilla bug #66367: rename the internal NSS functions that we have to
export from the NSS shared library.  Reviewed by Bob Relyea.
Modified Files:
	nss/lib/certdb/certdb.c nss/lib/certdb/pcertdb.c
	nss/lib/nss/Makefile nss/lib/nss/manifest.mn
	nss/lib/nss/nss.def nss/lib/pk11wrap/pk11skey.c
	nss/lib/pkcs12/p12d.c nss/lib/pkcs12/p12e.c
	nss/lib/pkcs12/p12local.c nss/lib/pkcs7/certread.c
	nss/lib/pkcs7/p7decode.c nss/lib/pkcs7/p7encode.c
	nss/lib/smime/cmsutil.c nss/lib/softoken/secpkcs5.c
	nss/lib/ssl/ssl3con.c nss/lib/ssl/sslcon.c
	nss/lib/ssl/sslnonce.c nss/lib/ssl/sslsnce.c
	nss/lib/util/nsslocks.c
Added Files:
	nss/lib/nss/nssrenam.h
2001-01-30 21:02:28 +00:00
mcgreer%netscape.com 2c3d9cd448 change pk12util to use shared libs. 2001-01-30 19:49:52 +00:00
mcgreer%netscape.com 6d10eabe08 export PKCS#12 symbols via the S/MIME DSO. Change default cipher list
to enable all available ciphersuites.
2001-01-30 19:47:39 +00:00
wtc%netscape.com 71ca492fce Bugzilla bug #66889: do not export the Windows import libraries for the
loadable PKCS#11 modules fort32.dll, swft32.dll, and nssckbi.dll.
Reviewed by Bob Relyea.
Modified files:
	nss/lib/ckfw/builtins/Makefile nss/lib/ckfw/builtins/config.mk
	nss/lib/fortcrypt/config.mk
	nss/lib/fortcrypt/swfort/pkcs11/config.mk
2001-01-30 19:43:26 +00:00
wtc%netscape.com f8c9dbd50c Bugzilla bug #54989: Use the AIX -brtl linker option to link the NSS
utilities with NSPR shared libraries.  Reviewed by Bob Relyea.
2001-01-30 19:11:22 +00:00
javi%netscape.com e450c541b4 Add first cut at exportable interfaces. 2001-01-30 18:34:22 +00:00
thayes%netscape.com 3b8522cde0 Initial versions of SDR. Doesn't do change/set password yet. 2001-01-30 02:47:43 +00:00
bryner%uiuc.edu b10b7c1d34 Bug 66886 - parent PSM dialogs correctly. This fixes all of the cases in PSM2 and several cases in PSM1. r=javi,danm. sr=mscott. 2001-01-30 02:12:53 +00:00
wtc%netscape.com e5afbc13df Bugzilla bug #64306: added stubs for PR_SetError and PR_SetErrorText.
Reviewed by Nelson Bolyard.
2001-01-30 02:03:47 +00:00
wtc%netscape.com 0529fd49b7 Bugzilla bug #63935: use our own macro LINUX instead of the compiler
predefined macro __linux as __linux is not defined by some compilers.
Thanks to jsmith@penguinppc.org for the bug report and a suggested fix.
2001-01-30 01:52:47 +00:00
mcgreer%netscape.com b18f617ae3 handle leading zeroes in q bug (66558). suggested by nicolson; r=mcgreer,a=wtc 2001-01-29 14:24:57 +00:00
mcgreer%netscape.com 1fd27f030e Per bug #66551, remove all HMAC_ calls from exported symbol list. All
HMAC_ functionality can be done the PKCS#11 interface.
2001-01-27 16:38:45 +00:00
mcgreer%netscape.com 0658b39baf Change all HMAC_ calls to use PKCS#11 interface. Now the PKCS#12 library
only depends on functions already exported from the NSS DSO (the HMAC_
calls will be removed from the exported symbol list).
r=nelsonb
2001-01-27 16:34:27 +00:00
javi%netscape.com 44f00ec417 Insert some white space into Makefile.in so that autoconf makes
Makefile from it after a check-out.  This fixes srcdir builds
on a fresh pull.
2001-01-27 00:45:42 +00:00
nelsonb%netscape.com f54215d441 Add multi-process server capability to selfserv. Bug 66630.
New -M command line option runs multiple selfserv processes,
all serving in parallel on the same TCP listen socket.
2001-01-27 00:36:15 +00:00
javi%netscape.com d2b6afd0dc Fix Win32 opt build bustage. 2001-01-26 18:55:34 +00:00
mcgreer%netscape.com f7ffc0989b thought I'd be cool and make it build with DSO's, but alas, need CERT_DecodeTrustString... 2001-01-26 16:45:46 +00:00
mcgreer%netscape.com 771d892bbe initial checkin of tool which converts CA certs into format for certdata.txt 2001-01-26 16:32:10 +00:00
relyea%netscape.com 451acc29cb Allow NSS_Initialize to succeed even if the databases cannot be opened.
NOTE: BETA 3 solution only. After Beta 3 NSS_Initialize will get to new
options to control this functionality more finely
2001-01-26 04:33:45 +00:00
nelsonb%netscape.com 85284ec34d Win32 processes have two environments, a Unix-compatible one and an NT
environment.  NSS has no control over which of these environments will
be inherited by any child processes, so when NSS modifies or adds an
environment variable, it needs to do so to both environments.
This fixes bugzilla bug 66615.  Reviewed by wtc.
2001-01-26 03:24:05 +00:00
wtc%netscape.com 997a6cb19a Bugzilla bug #63832: changed hardcoded 'gmake' to $(MAKE) in PSM makefiles.
Modified files: psm/Makefile, psm/lib/client/sample/Makefile,
psm/server/Makefile.
2001-01-25 21:48:33 +00:00
javi%netscape.com 1028e417ae Part of patch for bug 64650 r=javi build psmmain.c in the project instead of main.c 2001-01-25 21:21:43 +00:00
javi%netscape.com eec2089f8f Fix for Bug 64650
Give PSM suport for HP_UX
2001-01-25 21:08:59 +00:00
javi%netscape.com 408b7768e2 Part of Fix for bug 64650
main.c becomes psmmain.c
2001-01-25 21:06:10 +00:00
javi%netscape.com ab70a316a3 Part of fix for Bug 64650 r=javi
Provided by jdunn to support HP-UX
2001-01-25 21:01:58 +00:00
javi%netscape.com a867fd0244 Add a c++ file that calls the main funciton in a C file. This is to
make some compilers that require programs linking in C++ libraries to
have main in a c++ file happy.
2001-01-25 20:59:35 +00:00
wtc%netscape.com 1d3989f779 Bugzilla bug #65416: assign values to enumeration constants in secutil.h
and nssilock.h explicitly.  Reviewed by Ian McGreer.
2001-01-25 19:05:50 +00:00
nelsonb%netscape.com 8432dff235 Detect failures of NSS_Init and report them.
This fixes bug 66244 for certutil (only).
2001-01-25 04:14:22 +00:00
wtc%netscape.com 37f8cddb7b Export the new function NSS_VersionCheck(). Reviewed by Nelson. 2001-01-25 02:43:48 +00:00
javi%netscape.com 2f12d13e4e Missed this file during my last check-in. 2001-01-25 01:21:27 +00:00
javi%netscape.com 011df44cd1 Add Entropy collector support and the ability to load the root certificates
PKCS11 module
2001-01-25 01:14:23 +00:00
javi%netscape.com 5127834e37 Add an entry for the name of the loadable root certs PKCS#11 module. 2001-01-24 19:28:11 +00:00
wtc%netscape.com 7ef54f8fa6 Bugzilla bug #66286: link libnss3.so with -R '$ORIGIN' on Solaris so that
it searches for libfreebl_*.so in the same directory where it resides.
As a result, libnss3.so, not libnspr4.so, must be the one calling dlopen,
so libnss3.so can't call PR_LoadLibraryWithFlags.
Modified files: lib/freebl/loader.c, lib/nss/config.mk
2001-01-24 05:26:19 +00:00
nelsonb%netscape.com f496e7e62b Always detect failure of RNG_RNGInit(), which on Solaris and HPUX systems
typically signifies a failure to load the freebl DSO.  Fixes 66229.
r & a = wtc
2001-01-24 04:20:10 +00:00
javi%netscape.com 47f40b54a1 Don't build cmd directory for mozilla builds. 2001-01-24 03:45:53 +00:00
sonmi%netscape.com 08c0ec4c05 cleanup after testclient -q successfully connected before exiting 2001-01-23 05:01:24 +00:00
sonmi%netscape.com 652ab2714c do_accept now ignores the PR_CONNECT_RESET_ERROR 2001-01-23 04:56:53 +00:00
javi%netscape.com db0363adb9 Replace all references to gmake with $(MAKE). 2001-01-23 04:06:37 +00:00
javi%netscape.com 9d6b85067c Bring forward some functionality from PSM classic used in initializing
SSL sockets.

Put in the skeleton for the bad cert callback.
2001-01-23 03:16:45 +00:00
sonmi%netscape.com 28a9d61b72 Since we have frozen the tip I only checked in high priority fixes.
The individual fixes:
1) A complete QA failure produces a readable email now
2) the nssqa has goes thru a central Exit
3) hanging processes under NT and Win2K are killed (tail -f)
4) Functionallity is implemented to kill other remaining processes (killpif file)
5) improved general cleanup in Exit functions
6) the header is sourced from the nssqa dir rateher than /u/sonmi/bin
7) Problems with QA being reported as passed even if missing fixed
8) Most problems with the "missing Platform list" fixed
9) One QA failure path (cd to a dir without permission) did not give
	errormessage about the reason of failure before
10) fixed html errors in generated email
11) stopped filtering the "bad password" cases as real failures (was fixed in
	nssqa a while ago, but still filtered
12) removing more tmp files from /tmp (decreased debugging)
2001-01-23 01:51:47 +00:00
sonmi%netscape.com c364900546 added information in the result.html when selfserver dies (previously
only in output.log)
2001-01-23 01:47:32 +00:00
mcgreer%netscape.com a7c1fce665 add option for db prefix 2001-01-22 20:14:05 +00:00
mcgreer%netscape.com ab92e34584 dbprefix option added 2001-01-22 19:51:41 +00:00
wtc%netscape.com 2fbc053a03 Bugzilla bug #65918: do not build shared libraries on OSF1 with the -all
linker option.  The temporary workaround in two makefiles were removed.
Modified Files:
	coreconf/OSF1.mk nss/lib/ckfw/builtins/Makefile
	nss/lib/fortcrypt/swfort/pkcs11/Makefile
2001-01-22 17:16:47 +00:00
bryner%uiuc.edu 7fd29254b5 Register the pipnss chrome on windows. r=javi. Not part of build. 2001-01-20 23:54:33 +00:00
jgmyers%netscape.com e10355b403 fix capitalization 2001-01-19 22:39:29 +00:00
jgmyers%netscape.com 1d8a4efe49 fix comment 2001-01-19 22:39:17 +00:00
relyea%netscape.com cd78794a64 Follow Wan-Teh's suggesion of using typedef's for enums.
Follow the same style we use elsewhere for enums.
2001-01-19 07:57:18 +00:00
relyea%netscape.com 536aef1d68 Incorporate Wan-Teh's suggestion of using a typdef for the enum.
Follow the same standard we use elsewhere for enums.
2001-01-19 07:56:06 +00:00
relyea%netscape.com 82b228ad5d Bug 65903: Fixes to allow iWS admin stuff to work with shared library NSS
Add necessary exported symbols.
Fix bug in NSS_Initialize where we weren't passing the read only paramter
	through.
Add function to search for Certificate Lists so that Traverse does not need to
	be exposed.
Update pkcs11 names.
2001-01-19 07:53:54 +00:00
relyea%netscape.com 5cada618f3 Bug 65902 Add OSF/1 to the OS's that can restrict symbols in shared libraries 2001-01-19 07:51:12 +00:00
relyea%netscape.com bc342d8e7c Bug 65902 Add OSF/1 to the OS's that can restrict symbols in shared libraries 2001-01-19 07:50:58 +00:00
relyea%netscape.com 5291643fb8 Bug 65902 Add OSF/1 to the OS's that can restrict symbols in shared libraries 2001-01-19 07:50:16 +00:00
relyea%netscape.com 9cd1c1380d Fix Serial number searches by removing the DER tag.
Bug 65895.
2001-01-19 07:47:57 +00:00
nicolson%netscape.com 3ec036301b Only build archives, not .so's, at this level. 2001-01-19 02:23:47 +00:00
javi%netscape.com 4499e13a55 Make windows build the pipnss.jar file. 2001-01-19 01:46:42 +00:00
bryner%uiuc.edu ec5b7a59e7 Oops, forgot jar.mn. 2001-01-19 01:12:42 +00:00
bryner%uiuc.edu 91ec263c8e PSM 2.0 work:
- Split nsISecureSocketInfo into nsISSLSocketControl and nsIChannelSecurityInfo.
- Incorporate lock icon fixes from psm-glue into pipnss code.
- Implement password callback for client auth in pipnss.
- Locallize the lock icon tooltip.
- Lots of code cleanup.

r=javi, jgmyers, sr=ben.
2001-01-19 01:12:10 +00:00
nicolson%netscape.com 6c7d977144 moved libjss generation from cmd/jssjava to lib. 2001-01-19 00:14:25 +00:00
nicolson%netscape.com 524180fa6a get stuff to build under mozilla. 2001-01-19 00:13:52 +00:00
nicolson%netscape.com 516c8243e6 no more jssjava. 2001-01-19 00:11:31 +00:00
nicolson%netscape.com d14963dcf4 remove all the old jssjava stuff. move everything else to
mozilla/security/jss/lib.
2001-01-19 00:11:12 +00:00
mcgreer%netscape.com 37a38c273f make blapitest return error codes so QA lights up correctly. Fix bug with DSA
self-test.  r=wtc
2001-01-18 21:45:47 +00:00
wtc%netscape.com 4c9ff75572 Add library version info to the NSS, S/MIME, and SSL shared libraries.
Define the NSS version macros and add NSS_VersionCheck in nss.h.
Add linker option to record internal name of shared libraries.
Add Windows resource files.  Add rcs and sccs id strings that can be
retrieved with 'ident' and 'what'.
Modified Files:
	coreconf/HP-UX.mk coreconf/OSF1.mk coreconf/SunOS5.mk
        coreconf/WIN954.0.mk coreconf/WINNT4.0.mk coreconf/WINNT5.0.mk
	coreconf/rules.mk nss/lib/nss/config.mk
	nss/lib/nss/manifest.mn nss/lib/nss/nss.h
	nss/lib/nss/nssinit.c nss/lib/smime/config.mk
	nss/lib/smime/manifest.mn nss/lib/ssl/config.mk
	nss/lib/ssl/manifest.mn
Added Files:
	nss/lib/nss/nss.rc nss/lib/nss/nssver.c nss/lib/smime/smime.rc
	nss/lib/smime/smimever.c nss/lib/ssl/ssl.rc
	nss/lib/ssl/sslver.c
2001-01-18 20:29:10 +00:00
mcgreer%netscape.com 6de8cdc842 fixes for prime generatation:
1.  Increase maximum tries to 600 (based on 2*(approx. frequency of 1024-bit primes))
2.  Lower the number of Miller-Rabin iterations for p and q based on HAC table 4.4
r=nelsonb,a=wtc
2001-01-18 16:39:10 +00:00
wtc%netscape.com 63ea680683 Bugzilla bug #65416: assign values explicitly to enumeration constants.
The same values that the compiler would assign are assigned, with only
one exception (cmmfNoPKIStatus in cmmft.h).  This is patch id=22555,
reviewed by Nelson Bolyard.
2001-01-18 16:36:43 +00:00
nelsonb%netscape.com 38b97375a4 When searching for a prime, the number of Miller-Rabin tests to be
performed will be done in accordance with a table published in the
Handbook of Applied Cryptography.  See Bug 65151.  Also, changes to
test program for this function.
2001-01-18 01:39:17 +00:00
sonmi%netscape.com 189f2c68ac changed the stopQ conditionvariable to theadQ 2001-01-17 02:26:27 +00:00
jgmyers%netscape.com a7368e49a1 add .cvsignore 2001-01-17 02:24:04 +00:00
nicolson%netscape.com 36dc0e2931 remove export controls, and get things to build against NSS 3.1.1 under mozilla. 2001-01-16 23:49:57 +00:00
nicolson%netscape.com b875cce435 remove export controls. 2001-01-16 21:28:32 +00:00
nicolson%netscape.com e7a40e7359 remove export controls 2001-01-16 21:28:09 +00:00
nicolson%netscape.com 51023187d2 make JSS buildable. 2001-01-16 21:27:19 +00:00
nicolson%netscape.com 767233be24 make JSS buildable 2001-01-16 21:26:33 +00:00
javi%netscape.com 3164639dd9 Add Win32 build support for PSM 2.0 2001-01-16 21:16:07 +00:00
nelsonb%netscape.com a5517ccb94 Send SSL 3.x alert records when a version mismatch occurs.
Use the other party's version number to decide which alert to send.
Bug 65142.  R&A: relyea.
2001-01-13 02:32:39 +00:00
nelsonb%netscape.com 39d089077d Add implementation of SSL_RSA_WITH_RC4_128_SHA SSL3 cipher suite,
which is not enabled by default.  Bug 59795.
2001-01-13 02:05:15 +00:00
nelsonb%netscape.com 194d65d7b1 Remove all vestiges of old pre-NSS socks client implementation from NSS.
Bug 51471.
2001-01-13 01:52:59 +00:00
nelsonb%netscape.com 6b5c136c73 Suppress EOF messages unless running with -v. Bug 60879. 2001-01-13 00:55:30 +00:00
wtc%netscape.com ceef5ff849 Bugzilla bug #64650: set CC=cc explicitly so that we don't accidentally
pick up the CC setting in the environment.  This change is suggested by
Jim Dunn of Netscape.
2001-01-12 20:11:18 +00:00
wtc%netscape.com 8c5ff616a5 Bugzilla bug #64650: use +DAportable +DS2.0 in "pure 32" builds. This
was suggested by Jim Dunn of Netscape.  Reviewed by Nelson Bolyard.
2001-01-12 19:54:10 +00:00
mcgreer%netscape.com 7bb91bd884 take back export of NSS_CMSArray_Count 2001-01-12 18:38:31 +00:00
mcgreer%netscape.com ab41b19d3f removing use of external NSS_CMSArray_Count 2001-01-12 18:37:41 +00:00
mcgreer%netscape.com 223a39a7ac remove unspecified arg check (bug 65122) 2001-01-12 14:30:44 +00:00
mcgreer%netscape.com 3cefc82f5c bug 64706
when prime generation step fails, retry up to a specified number of times
2001-01-12 14:29:47 +00:00
wtc%netscape.com 3a64d769d7 Added NSS_CMSArray_Count back to the exports list because
cmd/smimetools/cmsutil.c needs it.
2001-01-12 06:07:34 +00:00
sonmi%netscape.com bce469e2f2 added documentation on how to activate it when it is needed 2001-01-12 02:45:01 +00:00
sonmi%netscape.com 67345b78d6 new script, supposed to be started in the background by all.sh, to watch
for cores and rename them, so multiple corefiles can be saved
checked in during freeze but not activated yet
2001-01-12 02:00:28 +00:00
nelsonb%netscape.com b6fbffd416 Save and restore %ebx register in all functions. Fixes bug 64940. 2001-01-12 01:37:02 +00:00
sonmi%netscape.com cfee61c895 now killing tail -f when done under MKS as well. 2001-01-12 00:18:32 +00:00
mcgreer%netscape.com 0d12d1771e prune list of exported symbols for s/mime library 2001-01-11 20:09:01 +00:00
sonmi%netscape.com 41d25c2217 formated everything to a <tab4> format - still needs reformating to linelength 2001-01-11 01:55:23 +00:00
sonmi%netscape.com 0c8a83eda8 terminate now if no selfserver is running before attempting to start the
clients (with exception of the -q testclien)
2001-01-11 01:45:12 +00:00
javi%netscape.com 34f0ae7938 Initial check-in of PIP (PSM 2.0)
Code almost entirely based on contribution
  from Brain Ryner (bryner@netscape.com)
2001-01-10 01:32:29 +00:00
javi%netscape.com 44fb76d42b Remove reference to obsolete define MACLINUX.
Fix for Bug 63936 r=wtc (For NSS trunk check-in)
2001-01-10 00:04:37 +00:00
mcgreer%netscape.com 06a3ef6dd9 back out previous change 2001-01-08 19:43:01 +00:00
mcgreer%netscape.com 3827902263 decoding nickname entries needs to include the nickname.
when searching for smime entry, verify subject is correct (can be multiple
subjects per email address)
2001-01-08 19:24:23 +00:00
nelsonb%netscape.com 3c022eff47 Changed HP assembler routine multacc512 in hpma512.s so that it
propagates carries exactly the same way that maxpy_little does.
Re-enabled use of multacc512 in mpi_hp.c.
2001-01-08 05:58:34 +00:00
nelsonb%netscape.com 58818f20b2 Fix infinite loop by making "i" be signed again.
Also match up braces for vi editor.
2001-01-08 03:26:50 +00:00
nelsonb%netscape.com 5aac9a76e8 Generation of prime numbers has been failing on HP since MPI began to
use the newest HP assembler function, multacc512.  So, that function
has been disabled.  Further investigation is needed.
2001-01-08 01:01:35 +00:00
nelsonb%netscape.com e2a505115f Eliminate some warnings found when compiling on Unix boxen. 2001-01-07 09:21:25 +00:00
nelsonb%netscape.com b09325c321 MSVC won't let you initialize a pointer in a data structure with the
address of an external variable that comes from another DLL.
This is a fundamental difference between WIN32 DLLs and Unix DSOs.
So, for every SEC_ASN1Template inside of libnss3 that is referenced by
other templates outside of libnss3, a new "chooser" function was created
that returns the address of that template.  For WIN32, the templates
outside of libnss3 access libnss3's templates by the chooser function
rather than by direct reference.  Some simple macros allow Unix to
continue to use direct references, avoiding the extra function calls.
With these changes, all.sh (qa script) passes all tests on NT with DLLs.
Modified Files:
	cmd/checkcert/checkcert.c cmd/lib/secutil.c lib/asn1/asn1t.h
	lib/certdb/certdb.c lib/certdb/certt.h lib/certdb/crl.c
	lib/certhigh/certreq.c lib/crmf/asn1cmn.c lib/crmf/crmfcont.c
	lib/crmf/crmftmpl.c lib/cryptohi/secsign.c lib/nss/nss.def
	lib/pkcs12/p12local.c lib/pkcs12/p12tmpl.c
	lib/pkcs7/certread.c lib/pkcs7/p7decode.c lib/pkcs7/p7local.c
	lib/smime/cmsasn1.c lib/smime/cmsattr.c lib/smime/cmspubkey.c
	lib/smime/cmssigdata.c lib/smime/smimeutil.c
	lib/softoken/keydb.c lib/softoken/keydbt.h lib/util/secalgid.c
	lib/util/secasn1.h lib/util/secasn1d.c lib/util/secasn1t.h
	lib/util/secasn1u.c lib/util/secdig.c lib/util/secdig.h
	lib/util/secoid.h
2001-01-07 08:13:13 +00:00
nelsonb%netscape.com 13447ee9b0 Eliminate some warnings by adding missing #include lines, or other minor
cleanup.
2001-01-07 07:56:35 +00:00
nelsonb%netscape.com 3de08d754b Eliminate warnings about functions returning values of the wrong type. 2001-01-07 07:49:22 +00:00
nelsonb%netscape.com dcf195e13b Add missing declaration of library function printflags(). 2001-01-07 07:48:04 +00:00
nelsonb%netscape.com 38e4b31a2f This program tests low level functions that aren't exported from the DSOs,
so it must be built with the static libs.
2001-01-07 07:47:17 +00:00
nelsonb%netscape.com 0d7cfb4faf The recent deletion of the SECU_Password function from cmd/lib made this
progam stop compiling.  So, as a temporary measure, to fix the build,
ifdef out the calls to the missing functions, and always behave as if
the "-n none" option had been supplied.
2001-01-07 07:46:36 +00:00
nelsonb%netscape.com 31a9c7be14 Get this file to build again on Windows. 2001-01-07 07:44:39 +00:00
nelsonb%netscape.com 6643298345 Add missing #include "nss.h" 2001-01-07 07:43:28 +00:00
nelsonb%netscape.com 084d2514a0 Fix several bugs to get NSS_Init working again. 2001-01-07 07:37:18 +00:00
relyea%netscape.com 12ec7ac44e Move SDR tests to use nss dll's 2001-01-07 00:32:36 +00:00
relyea%netscape.com 596b362320 Remove depricated Open function 2001-01-07 00:29:25 +00:00
relyea%netscape.com b8b30b7897 Fix HP map file option ('-c rather than -e') 2001-01-07 00:27:06 +00:00
relyea%netscape.com e76ece3d1a Get down to a signle.def file 2001-01-07 00:26:19 +00:00
relyea%netscape.com 778d56aec1 Add HP to the platforms that handle restricted symbols 2001-01-07 00:25:29 +00:00
relyea%netscape.com af943ff092 Add HP to the .def file processing.
Add SDR functions
2001-01-07 00:24:51 +00:00
relyea%netscape.com 6c12c34720 If the HP map definition to that it actually works! 2001-01-07 00:23:41 +00:00
relyea%netscape.com f077730e21 Remove depricated functions that's referencing a removed symbol 2001-01-06 23:55:22 +00:00
relyea%netscape.com 4a27c38bb2 Implement new .def file processing rules.
Add rules for HP
2001-01-06 23:52:44 +00:00
relyea%netscape.com e9a8844557 Conform to the new .def rules 2001-01-06 23:52:11 +00:00
relyea%netscape.com c15fe2aab3 Conform the .def files to the new rules.
update missing symbols from the export list documentation.
2001-01-06 23:51:05 +00:00
nelsonb%netscape.com 56b25cc297 Remove 8 deprecated functions from export list. 2001-01-06 23:10:30 +00:00
relyea%netscape.com 1a8bc8539b Add CERT_Find functions for the s/mime test programs. 2001-01-06 22:12:16 +00:00
relyea%netscape.com 08545e0573 Fix initialization to use NSS_Init* functions rather than low level
init functions.
2001-01-06 22:09:04 +00:00
relyea%netscape.com ff3563727d Allow UNIX and Windows to share Data lines in the .def files 2001-01-06 21:38:34 +00:00
relyea%netscape.com a1fd1f339d Merge Unix and win data types 2001-01-06 21:37:30 +00:00
relyea%netscape.com efcfd48a24 Merge UNIX and Win Data types 2001-01-06 21:36:59 +00:00
relyea%netscape.com 655843fdc3 Add symbols needed by secutil and the command libraries. 2001-01-06 21:14:03 +00:00
relyea%netscape.com a42eae8ba3 derdump needs to initialize NSS before calling the SECU functions. 2001-01-06 21:12:29 +00:00
relyea%netscape.com c07a66adc3 Use NSS_initialization.
Remove Low level SECKEY calls (not the private key management is now broken
until PK11 calls are added to replace them).
2001-01-06 21:11:34 +00:00
relyea%netscape.com 106fbd997a Use NSS initialization. 2001-01-06 21:10:18 +00:00
relyea%netscape.com e5ac6a6d92 Move the cert searching and printing utility function out of secutil.c so that
most functions which call secutil can still be used in the shared libraries.
2001-01-06 21:09:28 +00:00
relyea%netscape.com 7f3c14f816 remove depricated functions from secutil. 2001-01-06 21:05:36 +00:00
nelsonb%netscape.com b5208aea7f Remove declarations of SOCKS support functions, which have never worked
in NSS 3.x and are not supported.  Ifdef out declarations of deprecated
functions, since they are not exported by ssl3.dll.
2001-01-06 20:56:40 +00:00
mcgreer%netscape.com 575cbdc414 reflect function declaration changes to loader module (const stuff) 2001-01-06 17:07:07 +00:00
mcgreer%netscape.com e75f6fc4c7 on hypbrid cpu models (except sparc), use long long instead of long 2001-01-06 17:06:26 +00:00
mcgreer%netscape.com bfd673249c fix broken build on bigendian platforms 2001-01-06 16:34:23 +00:00
nelsonb%netscape.com 54be2d9937 Stop using deprecated SSL functions. Convert them to the supported ones. 2001-01-06 02:40:02 +00:00
relyea%netscape.com 7e861e00be Add rules for building the correct exportted list file for Sun, AIX, and Linux.
Fix AIX so the Map files will override exporting all the symbols
2001-01-06 02:00:55 +00:00
relyea%netscape.com cc9dd6e261 1) Add AIX to the exportted symbols controlled plaform.
2) reduce the exported symbol list down to one
2001-01-06 01:59:03 +00:00
relyea%netscape.com 6f4aa8bbb9 1) Add AIX to the build.
2) prune nss.def
3) reduce the count of exported symbol files down to one.
4) add NSS_Initialize()
2001-01-06 01:57:48 +00:00
nelsonb%netscape.com 265c93831d Use _WIN32 instead of _WINDOWS in windows-dependent ifdefs. 2001-01-05 23:53:38 +00:00
mcgreer%netscape.com 6547f07956 add support for AES
reduce compiler warnings
2001-01-05 22:38:50 +00:00
mcgreer%netscape.com 3855fe44e8 widespread changes to reduce compiler warnings. liberal application of const. 2001-01-05 22:37:50 +00:00
wtc%netscape.com af7528dc37 Call NSS_Init() to initialize NSS. It's not necessary to call PR_Init()
because NSPR is implicitly initialized.
2001-01-05 21:14:47 +00:00
javi%netscape.com 715af0e9e4 Correct spelling mistake.
r=javi,scc,hwaara@chello.se sr=brendan

(I'm checking this in for original reporter of Bug 63122.)
2001-01-05 03:26:41 +00:00
wtc%netscape.com 15c357d19a Bugzilla bug #64261: moved certread.c from lib/certhigh to lib/pkcs7.
As a result of this move I have to export one more data symbol
(SECAnyTemplate) from libnss3.so. :(  Removed the temporary workaround
in coreconf/rules.mk.
Modified Files:
	coreconf/rules.mk nss/lib/certhigh/manifest.mn
	nss/lib/nss/mapfile nss/lib/nss/nss.def
	nss/lib/pkcs7/manifest.mn
Added Files:
	nss/lib/pkcs7/certread.c
Removed Files:
	nss/lib/certhigh/certread.c
2001-01-05 02:18:55 +00:00
nelsonb%netscape.com 8aed37f6f6 Changes to deal with exporting data from Windows DLLs.
SECHashObjects[] is no longer exported.
New function HASH_GetHashObject returns pointer to selected const object.
SSL statistics are now in a structure whose address is obtained via a
call to SSL_GetStatistics().
On NT, the new symbol NSS_USE_STATIC_LIBS must be declared in programs
that use the static SSL library.
Also, propagate "const" declaration for SECHashObjects.
2001-01-05 01:38:26 +00:00
wtc%netscape.com 74856f4f5f Bugzilla bug #64261: moved pkcs7 from libnss3.so back to libsmime3.so.
coreconf/rules.mk has a temporary workaround for the dependency of
certread.c on some PKCS7 symbols.
Modified Files:
	coreconf/rules.mk nss/lib/manifest.mn nss/lib/nss/config.mk
	nss/lib/nss/mapfile nss/lib/nss/nss.def
	nss/lib/smime/config.mk nss/lib/smime/mapfile
	nss/lib/smime/smime.def
2001-01-04 21:33:06 +00:00
wtc%netscape.com f58c367f86 Include secder.h for the declaration of the DER_UTCDayToAscii functions. 2001-01-04 19:14:45 +00:00
nelsonb%netscape.com 2a3a289c75 Reduce warnings by adding missing #includes to eliminate calls to
undeclared functions.
2001-01-04 08:21:15 +00:00
wtc%netscape.com 814a817785 Removed unnecessary inclusion of secder.h. (The #include "secder.h"
in cms.h was probably cut and pasted from secpkcs7.h, which was added
in rev. 1.3 of secpkcs7.h in the Netscape internal /m/src cvs repository
in 11/1996.)
Modified files: secpkcs7.h, cms.h
2001-01-04 06:02:43 +00:00
wtc%netscape.com 9cc82bedbb Bugzilla bug #64238: removed the unnecessary inclusion of mcom_db.h from
cryptohi.h, pk11func.h, secpkcs7.h, and cms.h.  Some files now need to
include <errno.h>.  They were including <errno.h> indirectly through
mcom_db.h.
Modified Files:
	cmd/atob/atob.c cmd/btoa/btoa.c cmd/derdump/derdump.c
	lib/cryptohi/cryptohi.h lib/pk11wrap/pk11func.h
	lib/pkcs7/secpkcs7.h lib/smime/cms.h lib/ssl/sslsnce.c
2001-01-04 00:44:30 +00:00
wtc%netscape.com da51eb9314 Have lib/fortcrypt/Makefile and lib/fortcrypt/swfort/pkcs11/Makefile
include the local config.mk file so that libfort.a and libswft.a don't
get built.
2001-01-03 23:49:48 +00:00
larryh%netscape.com ee3817325c Bugzilla: 64132. NSS lock contention 2001-01-03 20:54:29 +00:00
larryh%netscape.com cf691e615e Bugzilla: 64132. NSS lock instrumentation 2001-01-03 19:51:22 +00:00
larryh%netscape.com 4fdb172017 Bugzilla: 64132 2001-01-03 01:39:43 +00:00
wtc%netscape.com cb96d6ba8c Added the LIBRARY statements to the .DEF files.
Modified files: nss.def, smime.def, and ssl.def.
2001-01-03 01:31:10 +00:00
wtc%netscape.com 298eb793c1 Deleted an unnecessary blank line. 2001-01-03 00:59:09 +00:00
kirke%netscape.com 8d8152bb9c Made argument processing more robust (ala stresclnt.c). We now detect
and fail when something on the command line is not recognized.  Also
exiting with distinct status values for all error conditions (previously
we always exited with '1').
2001-01-02 22:19:55 +00:00
mcgreer%netscape.com 0557c82d84 fix problem in decrypt 2001-01-02 16:57:47 +00:00
nelsonb%netscape.com 454d96aca2 Don't build libfreebl_*_3.a . Just build the .so's. 2000-12-29 23:21:51 +00:00