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

1189 Коммитов

Автор SHA1 Сообщение Дата
relyea%netscape.com 7782e8e49d If the HP map definition to that it actually works! 2001-01-07 00:23:41 +00:00
relyea%netscape.com 7922b6463d Remove depricated functions that's referencing a removed symbol 2001-01-06 23:55:22 +00:00
relyea%netscape.com 9d6f24b1f0 Implement new .def file processing rules.
Add rules for HP
2001-01-06 23:52:44 +00:00
relyea%netscape.com a1caf9ee0d Conform to the new .def rules 2001-01-06 23:52:11 +00:00
relyea%netscape.com 6480efed38 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 800d49e219 Remove 8 deprecated functions from export list. 2001-01-06 23:10:30 +00:00
relyea%netscape.com 558f0063f1 Add CERT_Find functions for the s/mime test programs. 2001-01-06 22:12:16 +00:00
relyea%netscape.com d246ad65a3 Fix initialization to use NSS_Init* functions rather than low level
init functions.
2001-01-06 22:09:04 +00:00
relyea%netscape.com 3c4399e4ab Allow UNIX and Windows to share Data lines in the .def files 2001-01-06 21:38:34 +00:00
relyea%netscape.com a1229115a0 Merge Unix and win data types 2001-01-06 21:37:30 +00:00
relyea%netscape.com 69531a060f Merge UNIX and Win Data types 2001-01-06 21:36:59 +00:00
relyea%netscape.com 0d5404ab76 Add symbols needed by secutil and the command libraries. 2001-01-06 21:14:03 +00:00
relyea%netscape.com 1825c169ff derdump needs to initialize NSS before calling the SECU functions. 2001-01-06 21:12:29 +00:00
relyea%netscape.com 5353a5b656 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 899444b644 Use NSS initialization. 2001-01-06 21:10:18 +00:00
relyea%netscape.com dcb55c3980 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 b91a0677ac remove depricated functions from secutil. 2001-01-06 21:05:36 +00:00
nelsonb%netscape.com 1962fdcb4f 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 a12fc02b67 reflect function declaration changes to loader module (const stuff) 2001-01-06 17:07:07 +00:00
mcgreer%netscape.com ffeb56bbd2 on hypbrid cpu models (except sparc), use long long instead of long 2001-01-06 17:06:26 +00:00
mcgreer%netscape.com 50c492d08c fix broken build on bigendian platforms 2001-01-06 16:34:23 +00:00
nelsonb%netscape.com 793dba6814 Stop using deprecated SSL functions. Convert them to the supported ones. 2001-01-06 02:40:02 +00:00
relyea%netscape.com c20c39e789 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 c3228676cf 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 e1e34747da 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 f4895bd017 Use _WIN32 instead of _WINDOWS in windows-dependent ifdefs. 2001-01-05 23:53:38 +00:00
mcgreer%netscape.com dcf2480ab4 add support for AES
reduce compiler warnings
2001-01-05 22:38:50 +00:00
mcgreer%netscape.com ec87616c36 widespread changes to reduce compiler warnings. liberal application of const. 2001-01-05 22:37:50 +00:00
wtc%netscape.com af6f7dd1b8 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 c744ed4cbd 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 119735b937 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 1311ab52d4 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 4e87e7fbbf 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 71a2d8ca02 Include secder.h for the declaration of the DER_UTCDayToAscii functions. 2001-01-04 19:14:45 +00:00
nelsonb%netscape.com 97cc48fda6 Reduce warnings by adding missing #includes to eliminate calls to
undeclared functions.
2001-01-04 08:21:15 +00:00
wtc%netscape.com 6548194a37 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 4c72980500 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 3f770a36f6 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 c94eecfbf1 Bugzilla: 64132. NSS lock contention 2001-01-03 20:54:29 +00:00
larryh%netscape.com 351f30a205 Bugzilla: 64132. NSS lock instrumentation 2001-01-03 19:51:22 +00:00
larryh%netscape.com ef56557ca6 Bugzilla: 64132 2001-01-03 01:39:43 +00:00
wtc%netscape.com 1e4d956b10 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 f3840a0b6e Deleted an unnecessary blank line. 2001-01-03 00:59:09 +00:00
kirke%netscape.com ddb4ac045d 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 2266954d60 fix problem in decrypt 2001-01-02 16:57:47 +00:00
nelsonb%netscape.com dfe078513f Don't build libfreebl_*_3.a . Just build the .so's. 2000-12-29 23:21:51 +00:00
nicolson%netscape.com da8c64f02e bye bye tabs, hello spaces. 2000-12-29 21:11:21 +00:00
wtc%netscape.com 834024acf7 Bugzilla bug #63891: added support for Linux on sparc and sparc64.
The patch is provided by Christopher Blizzard <blizzard@mozilla.org>.
2000-12-29 19:35:53 +00:00
wtc%netscape.com ed14a2aca7 Use mapfiles when building the nss, smime, and ssl shared libraries on
Solaris and Linux.
Modified files: nss/config.mk smime/config.mk ssl/config.mk
2000-12-29 07:13:20 +00:00
wtc%netscape.com 4f92128074 Added mapfiles for libnss3.so, libsmime.so, and libssl3.so. The linkers
on Solaris and Linux support mapfiles (also called version scripts).
Added Files:
    nss/mapfile smime/mapfile ssl/mapfile
2000-12-29 06:07:06 +00:00
wtc%netscape.com a8c1709124 Removed five symbols that shouldn't be exported. 2000-12-29 03:58:40 +00:00
wtc%netscape.com 3e8962790f I found that the Windows linker 'link' pulls from an archive library only
the object files needed to resolve referenced symbols, so we will need to
link with the objects directly as we do on Unix.  As a result, nss3.dll
needs to export more (PKCS7) symbols, needed by the new PKCS12 objects
that are linked into smime3.dll.
2000-12-29 02:50:16 +00:00
wtc%netscape.com f77af3ca2a I found that the Windows linker 'link' pulls from an archive library only
the object files needed to resolve referenced symbols, so we will need to
link with the objects directly as we do on Unix.  As a result, nss3.dll
needs to export more (PKCS7) symbols, needed by the new PKCS12 objects
that are linked into smime3.dll.
Modified Files:
    coreconf/rules.mk nss/lib/nss/config.mk
    nss/lib/smime/config.mk nss/lib/ssl/config.mk
2000-12-29 02:47:16 +00:00
cotter%netscape.com 0bca075256 Fixed broken graphics links. 2000-12-29 01:32:26 +00:00
wtc%netscape.com 55b90127c0 Fixed copyright years. This file was created and published in 2000. 2000-12-29 01:20:24 +00:00
wtc%netscape.com 007933d882 Built nss3.dll, smime3.dll, and ssl3.dll on Windows. Note that we do
not want the "32" in the DLL names that coreconf adds by default.  We
use module-definition (.DEF) files to control the exported symbols.
Made pkcs7 part of nss3.dll to temporarily work around circular dependency
between nss3.dll and smime3.dll (certread.c depends on some PKCS7 symbols).
Modified files: lib/nss/config.mk, lib/smime/config.mk, lib/ssl/config.mk
2000-12-29 01:16:56 +00:00
nelsonb%netscape.com 16a28a548d This file has been superseded by mpv_sparcv8.s and mpv_sparcv9.s 2000-12-29 01:07:00 +00:00
nelsonb%netscape.com 165ce1171a Implement new mpi function mpi_read_variable_radix(). It's like
mpi_read_radix(), except that if the input stream begins with a leading
zero or "0x", it will interpret the input as octal or hex, respectively.
2000-12-29 01:01:37 +00:00
wtc%netscape.com e424fb6173 Added Windows module-definition (.DEF) files for nss, smime, and ssl
shared libraries.
Added files: nss.def, smime.def, ssl.def
2000-12-29 00:57:17 +00:00
nelsonb%netscape.com 99f5c067fe Optimized version of these functions, contributed by Sun. 2000-12-29 00:36:31 +00:00
nelsonb%netscape.com 2701ecb476 Add missing release_md target. This will cause the new DSOs to be
included in the released jar files.
2000-12-28 21:35:55 +00:00
nicolson%netscape.com 224edc2408 legacy code for 16-bit browser, now obsolete. 2000-12-28 18:58:22 +00:00
wtc%netscape.com 94481c32a8 Bugzilla bug #63852: added config file for Solaris 8 x86. 2000-12-28 16:02:44 +00:00
nelsonb%netscape.com 30ce773929 Define NSS_USE_HYBRID in hybrid builds. 2000-12-28 04:13:02 +00:00
nelsonb%netscape.com 19aaa707ef Separate the floating point and integer implementations of modular
exponentiation into two functions that can be chosen at run time.
2000-12-28 03:41:50 +00:00
nelsonb%netscape.com d84a97a8ac Radical change to freebl "32-bit" builds on Solaris and HP-UX "32-bit".
Build two DSOs, both conforming to the platform's 32-bit ABI, one of
which uses only 32-bit instructions, the other uses 64-bit instructions.
Then load the best one for the local CPU at run time.  This allows
greatly enhanced performance on 64-bit CPUs while still supporting older
32-bit CPUs.
2000-12-28 03:39:01 +00:00
nelsonb%netscape.com 3cf4961be7 mapfile defines the public ABI for the new freebl DSOs. 2000-12-28 03:35:43 +00:00
nelsonb%netscape.com 4a9ba412bb Verify vector version and length before relying on the DSO's vector. 2000-12-28 03:26:29 +00:00
wtc%netscape.com 56caa19b5a Bugzilla bug #63832: use $(MAKE) instead of gmake in sub-makes. 2000-12-28 03:07:27 +00:00
nelsonb%netscape.com 23ef0d9ee6 New variable USE_HYBRID configures build for hybrid model. 2000-12-28 02:55:39 +00:00
wtc%netscape.com 9105316b43 Bugzilla bug #63832: use $(MAKE) instead of gmake in recursive sub-makes.
Thanks to Myth <frb@wiw.org> for the bug report and fix.
2000-12-28 02:54:07 +00:00
wtc%netscape.com d8b46439c0 More work on shared libraries for NSS.
1. Implemented a way to link all the objects in archive libraries into
   a shared library.  I query each subdirectory for the list of objects
   comprising an archive library (the get_objs makefile target) and link
   these objects as opposed to the archive libraries.  Not all linkers
   support the --whole-archive, -all, or -z allextract options.  The
   *sym.c solution cannot fully control what objects in the archive
   libraries are pulled and what symbols are exported.
2. Moved pkcs7 from libsmime3.so to libnss3.so because certread.c in
   libcerthi.a (part of libnss3.so) depends on some PKCS7 functions,
   which creates a circular dependency between libsmime3.so and libnss3.so.
This should work on all Unix platforms.
2000-12-28 02:22:33 +00:00
wtc%netscape.com 175186f0b2 Put -lnss3 after -lsmime3 and -lssl3, which depend on -lnss3. 2000-12-28 00:49:50 +00:00
wtc%netscape.com 65a1101c22 The -O2 flag was really a workaround for a 64-bit compilation problem
for two PKCS11-related files.  (See bug #63815.)  Now we are working
around that problem by compiling just those two files with -O2, as
opposed to compiling all files with -O2.  So we no longer need to
use the -O2 flag, even in optimized builds.  The default -O optimization
flag is recommended by the compiler manual and in the current releases
is the same as -O2.
2000-12-28 00:46:33 +00:00
wtc%netscape.com fe524519f7 Bugzilla bug #63815: this AIX compilation problem only occurs in 64-bit
builds.  lib/softoken/pkcs11c.c also needs the workaround.
Modified files: lib/pk11wrap/Makefile, lib/softoken/Makefile
2000-12-28 00:35:26 +00:00
nelsonb%netscape.com 85579df540 Detect null slot pointer instead of crashing. 2000-12-27 21:31:39 +00:00
wtc%netscape.com a766ac4429 Bugzilla bug #63815: a workaround for IBM xlC_r 3.6.6 (on AIX 4.3) to
compile pk11slot.c.
2000-12-27 20:58:38 +00:00
wtc%netscape.com 46ef2e65b7 Bugzilla bug #63807: fixed function prototype of SHA1_TraceState. 2000-12-27 18:47:57 +00:00
nelsonb%netscape.com a43bfeb51a Use the -O2 optimizer only when BUILD_OPT is defined.
This makes AIX debug builds debuggable.
2000-12-27 04:10:10 +00:00
nelsonb%netscape.com b41b82ce9d This code permits multiple implementations of freebl to coexist for a
single platform.  The best implementation for the local CPU is dynamicly
loaded at run time.  Requires DSOs to be in the LD_LIBRARY_PATH or
equivalent (e.g. SHLIB_PATH).
2000-12-27 03:20:04 +00:00
nelsonb%netscape.com 855cec4af9 Stubs for RC5 functions. This is NOT a working implementation of RC5. 2000-12-27 03:16:59 +00:00
nelsonb%netscape.com f7c24847c7 Attempt to clarify code to reduce confusion about side effect of
MP_CHECKOK macro.
2000-12-27 03:14:28 +00:00
nelsonb%netscape.com 29c09b0208 Ensure function SHA1_TraceState is always defined, even when TRACING_SSL
is not defined.
2000-12-27 02:41:59 +00:00
nelsonb%netscape.com ca6ec16975 Fix an error message to correctly report the name of the failed init
function.
2000-12-27 02:38:47 +00:00
nelsonb%netscape.com 3dc39fe215 Change HP 64-bit and hybrid builds to use new HP assembly code.
Fix uses of $(LIB).
2000-12-27 02:08:54 +00:00
nelsonb%netscape.com 9e517f5d33 The Initial Developer of the Original Code is Netscape
Communications Corporation.  Portions created by Netscape are
Copyright (C) 2000 Netscape Communications Corporation.  All Rights
Reserved.
2000-12-27 01:48:25 +00:00
nelsonb%netscape.com ed7c69d604 The Initial Developer of the Original Code is the Hewlett-Packard Company.
Portions created by Hewlett-Packard Company are
Copyright (C) 1999 Hewlett-Packard Company.  All Rights Reserved.
2000-12-27 01:45:23 +00:00
nelsonb%netscape.com 14f9d75af8 The Initial Developer of the Original Code is the Hewlett-Packard Company.
Portions created by Hewlett-Packard Company are
Copyright (C) 1997 Hewlett-Packard Company.  All Rights Reserved.
2000-12-27 01:44:44 +00:00
wtc%netscape.com 0407a7b3b5 Bugzilla bug #63768: do not build "purified" libraries, which are no longer
necessary for the current version of Purify.
Modified Files:
	HP-UX.mk IRIX.mk README ReliantUNIX.mk SunOS4.1.3_U1.mk
	SunOS5.mk command.mk prefix.mk rules.mk ruleset.mk suffix.mk
2000-12-27 00:42:46 +00:00
jgmyers%netscape.com 27e40f55d6 IPv6 support in PSM: bug 47834 r=ddrinan sr=brendan@mozilla.org 2000-12-23 01:26:25 +00:00
sonmi%netscape.com 1f426e3eef added qaclean and beautified some of the rest 2000-12-22 23:56:41 +00:00
sonmi%netscape.com 6b86a22ebc :-) 2000-12-22 23:56:06 +00:00
sonmi%netscape.com 1a4b8bba5c was part of the qa wrapper for a long time, just never found the time to check it in 2000-12-22 23:40:54 +00:00
cls%seawood.org 5e9e34756b Landing javi@netscape.com 's changes to make NSS place nice with the Mozilla build system.
Bug #60912 r=bryner
CARPOOL! a=leaf
2000-12-22 21:12:53 +00:00
mcgreer%netscape.com be387f833b merge from branch (this process will be fixed, someday) 2000-12-22 19:23:41 +00:00
relyea%netscape.com 065da8f734 Shared library changes.
Three directories pull the NSS libraries together into a three shared libaries:
nss, ssl, and smime. Symbols need to be exported by the DLL from the imported
libraries are defined in XXX/XXXsym.c Library linkage is controlled by
XXX/config.mk
2000-12-22 17:16:24 +00:00
relyea%netscape.com ab78f09b9b Add dynamic Library support to commands. Mark those that commands that still
need to be build with static libraries appropriately.
2000-12-22 17:09:07 +00:00
sonmi%netscape.com 483de39248 breaking the world record for NT bugs per minute 2000-12-22 03:02:01 +00:00
sonmi%netscape.com 5394bdd761 fixed hostname for Win2000 2000-12-22 03:01:10 +00:00
sonmi%netscape.com 6df2b6bc4a fixed OS name for WinNT once more... 2000-12-22 03:00:17 +00:00
sonmi%netscape.com 34d2132952 bugfix and warning for NT 2000-12-22 02:31:56 +00:00
sonmi%netscape.com ca25bc7f99 this script is supposed to cleanup after a failed QA 2000-12-22 02:00:29 +00:00
nicolson%netscape.com 25905cfbbc Checking in what we can off SSL. 2000-12-21 22:59:12 +00:00
mcgreer%netscape.com 2321dc1d05 dump usage before doing anything when no args passed, bug 63520 2000-12-21 22:14:02 +00:00
sonmi%netscape.com 9b58d20702 removed certutilout with the other temporary files 2000-12-21 20:11:38 +00:00
sonmi%netscape.com 02abee230e took an additional set_host function out, called the real set_host earlier 2000-12-21 19:44:11 +00:00
sonmi%netscape.com c0ce985373 bugfix for .nssqa file in results directory 2000-12-21 19:42:23 +00:00
sonmi%netscape.com 872eafc36b several bugfixes concerning missing plattform list and the NT/2000 OS name 2000-12-21 19:40:24 +00:00
sonmi%netscape.com 6f4d0057d0 changed the certutil output handeling once more 2000-12-21 19:35:36 +00:00
mcgreer%netscape.com 8df1f34f24 fix bug 63447 where certutil was opening an unneccessary output terminal. 2000-12-21 01:51:37 +00:00
sonmi%netscape.com a63c3e7c14 removed the "fix" for a nonproblem :
the problem appeared to be a failure of the shell to pass on the correct return
codes when run from cron (false positive and false negative results when run
from cron - in reality the returncodes were right, but the cron generated db
had no password because of a bug in certutil
2000-12-20 23:40:53 +00:00
nelsonb%netscape.com 2b04b7346c Revise mp_div and s_mp_div substantially. Reduce the number of temporary
variables.  Eliminate inner loop of shifts from s_mp_div.
2000-12-20 05:54:18 +00:00
javi%netscape.com 7e59e28ded Build with NSS 3.1 2000-12-20 01:24:58 +00:00
javi%netscape.com 2f621adc73 Checking in code to load root cert module on UNIX platforms. 2000-12-20 01:21:58 +00:00
sonmi%netscape.com b9c1650063 undid the redirecting to a tmp file, only write the stderr to the stdout 2000-12-20 00:24:38 +00:00
mcgreer%netscape.com 49ed8cb93a initial checkin of Rijndael (AES) implementation. Only blocksize == 128 bits
has been tested on this checkin.
Added make target "rijndael_tables", which will generate rijndael32.tab.
2000-12-19 23:43:12 +00:00
javi%netscape.com 5508ac61e0 Disable PSM log output by default. Developpers will have to explicity turn it on. 2000-12-19 22:57:44 +00:00
javi%netscape.com f59bbe4f05 Don't error out when creating the list of PKCS#11 modules
if one wasn't loaded correctly.
2000-12-19 22:49:42 +00:00
sonmi%netscape.com 587cd404c6 took unneccessart warning out 2000-12-19 20:56:28 +00:00
cotter%netscape.com 1550d26a70 Added changes re PSM 1.4 for Communicator. 2000-12-19 19:23:47 +00:00
nicolson%netscape.com 7d9bb7e141 Convert com.netscape.jss package names to org.mozilla.jss.
The work was done by a script.
2000-12-19 06:19:02 +00:00
javi%netscape.com a48c453c83 Fix for bug 63209 sr=cls@seawood.org r=javi@netscape.com
Checking in for pedemont@us.ibm.com

Make psm-glue use static libraries for libprotocol and
libcmt on OS/2
2000-12-19 02:06:31 +00:00
sonmi%netscape.com eaeef3c20b explicitly redirected certutil output once more to get rid of cron error msg 2000-12-19 00:26:21 +00:00
sonmi%netscape.com 9b69804458 fixed various bugs 2000-12-16 02:46:44 +00:00
sonmi%netscape.com df849f390d changed the text file to html 2000-12-16 00:38:38 +00:00
sonmi%netscape.com 8cef3f40c1 added winnt and win95 2000-12-15 22:33:09 +00:00
nicolson%netscape.com eea1482d41 First checkin of Network Security Services, Java version. 2000-12-15 20:53:03 +00:00
nelsonb%netscape.com f6d5a84b79 Correct make variable name for AIX. 2000-12-15 06:00:55 +00:00
nelsonb%netscape.com a758f782ec Change AIX 32-bit options to use new fine-grained feature test macros. 2000-12-15 05:54:08 +00:00
nelsonb%netscape.com fd321489ff Implement new feature test macros for controlling the use of mp_word over
individual types of operations, e.g., multiply, divide, add, subtract.
Use a specific combination of these for 32-bit on AIX.
2000-12-15 05:38:09 +00:00
nelsonb%netscape.com cbcc0658f2 Add missing Makefile lines to build mpi optimally for AIX 32 and 64-bit. 2000-12-15 03:01:23 +00:00
nelsonb%netscape.com a99008bc8d Fix mpi-test for machines that have long or long long digits. 2000-12-15 03:00:00 +00:00
larryh%netscape.com 07d4ae7214 /m/dist is no more. long live /s/b/c 2000-12-15 01:29:25 +00:00
sonmi%netscape.com 027cd3de64 use the new function to restet the masterbuild 2000-12-15 01:19:42 +00:00
sonmi%netscape.com 2ab9d0ddf7 fixed the NT problem that no .nssqa file was created
more flexible with NT masterbuild (if blowfish build doesn't exist
we use whatever looks closest to NT :-)
2000-12-15 01:19:02 +00:00
sonmi%netscape.com 06ecbd3c25 fixed a comment, sed is very picky about strings starting with -n (it thinks
this is an option)
2000-12-15 01:07:45 +00:00
sonmi%netscape.com c65534bf8e set DOMSUF automatically if not set, reduced NT directories from 24 to 4,
fixed the problem that on HP sometimes the versionnumber is unknown
2000-12-15 01:06:26 +00:00
mcgreer%netscape.com c7b1494e18 certs-only does not require input 2000-12-14 23:59:33 +00:00
ddrinan%netscape.com 74a5419127 Fixed the PSM version number to 1.4 2000-12-14 23:49:23 +00:00
sonmi%netscape.com 3b54f4a99c fixed missin platform bug 2000-12-14 02:13:55 +00:00
sonmi%netscape.com a5ec2780c2 changed 32 bit platforms to explicitly say so, missing list was wrong before 2000-12-14 01:56:39 +00:00
sonmi%netscape.com 80b138880b added performance tests 2000-12-14 01:53:11 +00:00
sonmi%netscape.com 5791fb822c fixed minor bugs, added performance tests to qa_stat 2000-12-14 01:41:57 +00:00
nelsonb%netscape.com 6502891944 Fix hybrid model builds for HP-UX. 2000-12-13 04:36:28 +00:00
nelsonb%netscape.com 21c18e5540 Make the -d option unnecessary when the built-in key is being used,
e.g. when -n none  has been specifed.
2000-12-13 01:38:14 +00:00
nelsonb%netscape.com 3be31901cc Start building freebl with MPI's new floating point acceleration code. 2000-12-13 01:26:48 +00:00
nelsonb%netscape.com d50f40cfc7 Add support for unsigned long long mp_digits.
Revise and simplify the scheme of feature test macros used in mpi.h.
Remove all NSS_ and SOLARIS ifdefs from the source.
2000-12-13 01:22:22 +00:00
nelsonb%netscape.com 18d92f7b48 This file is the output of Sun's WorkShop 5.0 compiler for mpv_sparc.c,
when compiled for the v8+ or v9 architecture.  This file may be built
with WorkShop 4.2 and will produce the same .o as WorkShop 5.0.
2000-12-13 01:19:55 +00:00
sonmi%netscape.com bb97b40277 took yesterday's fix out, because it would potentially break running only
the subscripts, replaced it by a call to a script that makes the PATH
components uniqe
2000-12-13 00:36:53 +00:00
sonmi%netscape.com 656bff57b0 oops - first bug 2000-12-13 00:00:32 +00:00
sonmi%netscape.com c4b9feeb40 one first quick + dirty cut + paste doc about kernelconfigurations 2000-12-12 23:56:01 +00:00
sonmi%netscape.com 3d521a7164 new qa wrapper - per wtc's request moved here from /m/src 2000-12-12 23:08:15 +00:00
sonmi%netscape.com 17bd870492 nssqa documentation (or at least a start :-) 2000-12-12 23:06:34 +00:00
sonmi%netscape.com 2e5bb06d28 fixed unreasonable long PATH (which refused) and got rid of the error when
run interactively (-n_TestUser-w_bogus was filtered through an sed, which
thought that -n was **his** option...)
2000-12-12 05:10:51 +00:00
sonmi%netscape.com ff8becdad3 first attempt of a platformlist, still misses windows platforms 2000-12-12 01:44:20 +00:00
mcgreer%netscape.com cc53dca176 hopefully fixes HP 64-bit opt QA failures, where cmsutil fails first time it is executed from script 2000-12-11 19:38:16 +00:00
mcgreer%netscape.com 897ecedd23 cmsutil was broken for STDIN input 2000-12-11 18:42:58 +00:00
nelsonb%netscape.com 5073b4c76e On DEC Alpha/OSF1, following the examples in <c_asm.h>, use inline
assembly code to get 64-bit products and squares from 32-bit multipliers
in just two instructions.  Speeds up multiplication and squaring a lot.
2000-12-09 03:36:41 +00:00
nelsonb%netscape.com 04688e0249 When building without the inline assembly macros, use a simple cast
rather than the math lib's floor() function.  Also, don't and with a
mask of all 1 bits when casting to a smaller unsigned type will suffice.
2000-12-09 03:32:41 +00:00
larryh%netscape.com e769c1df54 Bugzilla: 62396, fix threads in selfserv.c 2000-12-09 01:35:54 +00:00
sonmi%netscape.com 9bf885bd61 added timestamps for stresstest per nelson's request 2000-12-08 23:49:55 +00:00
nelsonb%netscape.com b48c49ffe4 Change NewTempCertificate(), making the search for the cert and the
subsequent insertion of the cert into the DB into one atomic operation
by holding the certdb's lock around the pair of operations.  Bug 62286.
2000-12-08 03:35:29 +00:00
nelsonb%netscape.com 7a0b5a0ef2 This modification, contributed by Sun, avoids computing values >= 2^52.
This code runs much faster than the previous version on UltraSparc-3 CPUs,
and slightly slower than the previous version on UltraSparc-II CPUs.
2000-12-08 00:20:36 +00:00
relyea%netscape.com 9e96aea0f1 OpenVMS changes bug 60143 2000-12-07 22:25:18 +00:00
relyea%netscape.com 5a0634f3c0 Open VMS changes bug 60143 2000-12-07 22:24:46 +00:00
relyea%netscape.com 157d2345bc Open VMS changes: bug 60143. 2000-12-07 22:23:06 +00:00
mcgreer%netscape.com 08b69559e6 fix debug output so it doesn't crash 2000-12-07 18:38:27 +00:00
nelsonb%netscape.com c76148218a Add a new -t option to specify the maximum number of threads, and hence
the maximum number of simultaneous connections.  Default is now 8.
values < 1 or > 32 are ignored. Also, increase the minimum delay interval
for retrying failed connections from 10 to 50 milliseconds, and increase
it exponentially if/as more retries are required.  These changes have
made the stress tests finish considerably faster, and have improved the
consistency from run to run.  Previously runs times varies by 2:1 or more.
2000-12-07 05:34:50 +00:00
ddrinan%netscape.com 0bb4288722 Fix for bug 60909. r=javi@netscape.com, bryner@netscape.com. sr=brendan@mozilla.org, leaf@mozilla.org. 2000-12-06 23:45:42 +00:00
mcgreer%netscape.com 774c8f0401 still more debug output 2000-12-06 22:35:52 +00:00
relyea%netscape.com 5b93286d8b Check in openVMS changes from but 60143 2000-12-06 22:31:56 +00:00
mcgreer%netscape.com 107324d3c5 add some debug output to try and track down HP64 QA problem 2000-12-05 23:58:01 +00:00
mcgreer%netscape.com 7db461e1b8 uninit'ed var causes problem on some platforms 2000-12-05 01:13:24 +00:00
nelsonb%netscape.com 885d29d0b4 Use the new floating point Montgomery multiply code from Sun on Solaris. 2000-12-02 02:37:22 +00:00
nelsonb%netscape.com 8c2b42042f In ssl3_GatherData, the value of gs->inbuf.len was incorrect during the
GS_HEADER state.  It should be correct in all states.
In ssl_DestroyGather, prior to freeing the buffers, the code zeroed out
the ciphertext buffer.  It now zeros out the plaintext buffer instead.
2000-12-02 00:54:01 +00:00
mcgreer%netscape.com 9ce79d6c32 table wasn't wide enough for long runs 2000-12-01 23:48:22 +00:00
mcgreer%netscape.com 0793b6f936 allow for more granularity in testing 2000-12-01 21:50:57 +00:00
mcgreer%netscape.com 092f821fa4 fix broken AIX build 2000-12-01 19:00:50 +00:00
nelsonb%netscape.com f49b012cd4 Back out a previous change to one line of this code for performance. 2000-12-01 03:58:17 +00:00
nelsonb%netscape.com 6abe6c9e6c Add new optional third argument which specifies modulus size in bytes.
Don't print values for powers 0, 1, and 2 unless the repetition count
(the optional second argument) is 1.
2000-12-01 03:56:12 +00:00
nelsonb%netscape.com 32b43a3ae6 Replace compiler-generated inner loop code with optimized code.
This optimized code was contributed by Sun Microsystems Inc.
2000-12-01 03:53:13 +00:00
nelsonb%netscape.com 196b9b582c * The Original Code is SPARC hand-optimized Montgomery multiply functions.
*
* The Initial Developer of the Original Code is Sun Microsystems Inc.
* Portions created by Sun Microsystems Inc. are
* Copyright (C) 1999-2000 Sun Microsystems Inc. All Rights Reserved.
2000-12-01 03:18:27 +00:00
nelsonb%netscape.com 291aa8039a * inline macros for SPARC Montgomery multiply functions.
*
* The Initial Developer of the Original Code is Sun Microsystems Inc.
* Portions created by Sun Microsystems Inc. are
* Copyright (C) 1999-2000 Sun Microsystems Inc. All Rights Reserved.
2000-12-01 03:17:53 +00:00
mcgreer%netscape.com 83a8928dcd check in b64 encoded seeds 2000-12-01 01:31:18 +00:00
mcgreer%netscape.com 39061cbbdb massive changes to blapitest to allow for more flexible input types and improved
performance testing output.
2000-12-01 01:24:05 +00:00
mcgreer%netscape.com 49cc5efca8 add scripts for testing cipher performance. modify cipher.sh to reflect command arg changes in blapitest. 2000-12-01 01:09:44 +00:00
mcgreer%netscape.com 8657145db0 fix broken builds, linked in wrong order 2000-11-30 19:13:01 +00:00
javi%netscape.com 378bd999ca Plug some memory leaks that were brought to my attention by brendan. Not part of Mozilla build just yet. 2000-11-29 21:41:23 +00:00
javi%netscape.com a2bb31a18e Fix busted loading of module for WIN32 and delete the TextGenContext used to fetch the name of the module for the root certificates. 2000-11-29 20:00:21 +00:00
nelsonb%netscape.com 8f9113a6de Add missing error detection to identest. Change the order in which
mp_ints are destroyed to make debugging easier.  These changes
facilitated detecting and fixing bug 61394.
2000-11-29 04:07:10 +00:00
nelsonb%netscape.com 4a90b4de0b Fix bug 61394. Don't increase length of input vector by 1. Avoid
copying the vector twice.
2000-11-29 01:30:28 +00:00
sonmi%netscape.com f558ce20b2 took out the NULL_SERVER restart code completely 2000-11-29 01:09:33 +00:00
sonmi%netscape.com 5e8aa6985c more outpur (2>) to the certutil log file 2000-11-29 01:08:59 +00:00
sonmi%netscape.com 4b5efbc2fb took out the tail -f if running from cron 2000-11-29 01:07:59 +00:00
relyea%netscape.com 0cdc5f46fe Use NSS_Init() to open the databases.
Include pk11func.h so we get the proper forward function definition.
2000-11-28 23:37:52 +00:00
relyea%netscape.com b13e8d38bb Fix type casting problems in zip.c 2000-11-28 23:25:36 +00:00
relyea%netscape.com e71c1551fe remove extre PR_PUBLIC definition so everything will compile under AIX 2000-11-28 23:24:55 +00:00
mcgreer%netscape.com b8f9c46b41 fix missing libraries in windows build 2000-11-28 23:21:38 +00:00
javi%netscape.com f708e68417 Include prototype for converting a mac path to unix path. 2000-11-28 23:04:16 +00:00
javi%netscape.com 76092382bb Version of ctrlconn.c that loads root modules for Mac. 2000-11-28 23:02:37 +00:00
relyea%netscape.com 320b630de7 Add pkcs12 so the pk12util.c builds 2000-11-28 22:08:45 +00:00
relyea%netscape.com 744f0cb8cf Use platlibs so the the builds work on NT as well. 2000-11-28 22:08:23 +00:00
ddrinan%netscape.com 986393b889 Suppress the depend target 2000-11-28 22:01:56 +00:00
javi%netscape.com cd2ea68715 Also traverse into the nlslayer directory when building PSM. 2000-11-28 20:18:54 +00:00
javi%netscape.com c016b7b3fc Add the list of exported symbols from the pkcs11 shared library module
to this directory.
2000-11-28 19:12:42 +00:00
sonmi%netscape.com 8a8c1d8900 removed another server restart (NULL ciphers), but left code in in case we
need to reactivate the restart (search for variable NULL_SERVER)
2000-11-28 02:57:46 +00:00
sonmi%netscape.com a4a3a8bead attempt to remove cron error about output terminal can't be opened
made tmp files permanent so HP cmsutil coredump can be examined
added debugging output (log all certtutil starts), switchet to /bin/sh
2000-11-28 02:36:29 +00:00
mcgreer%netscape.com a69820a596 changes suggested by bryner to build more of NSS's utilities 2000-11-28 00:36:53 +00:00
ddrinan%netscape.com 7c29b54ea1 Install the library 2000-11-22 20:02:16 +00:00
ddrinan%netscape.com 7805b70b08 Changes to get PSM to build with Mozilla 2000-11-22 19:59:30 +00:00
relyea%netscape.com 3cb959d7b5 Check in PKCS #11 test suite. 2000-11-21 23:56:51 +00:00
javi%netscape.com d07a8cd327 Add the ability to set what directory is used for the key and cert db's. 2000-11-20 19:46:14 +00:00
sonmi%netscape.com 30455c891c added debug echo for each testclient started 2000-11-17 22:12:26 +00:00
nelsonb%netscape.com 317fd465f9 When disabling SSL2, also disable ssl2 compatible client hellos.
This allows us to test with TLS servers that don't grok ssl2 hellos.
2000-11-17 21:57:02 +00:00
nelsonb%netscape.com 2889df8598 Get the montmulf code to build, in preparation for integration into MPI. 2000-11-17 20:15:29 +00:00
mcgreer%netscape.com 1342aa1546 checkin of blinding implementation 2000-11-17 17:58:35 +00:00
sonmi%netscape.com e40084da9d checked in previous fix again. Hanging had other reasons 2000-11-17 02:17:18 +00:00
mcgreer%netscape.com a5f98d63db return SEC_ERR_NEED_RANDOM when the RNG does not have sufficient seeding data to proceed. 2000-11-17 01:01:36 +00:00
mcgreer%netscape.com 0c02bcc920 these functions should be static 2000-11-17 00:59:51 +00:00
sonmi%netscape.com 6365388287 backed out my changes, first it wanted input, then I started it <request file,
which made the next testclient fail / hang ...
2000-11-16 02:35:11 +00:00
javi%netscape.com 0e6d6a9559 Implement the function that uses the directory service to return the path of where the executable lives on disk. 2000-11-16 01:08:58 +00:00
javi%netscape.com 1a2ee05f0c Add prototype for function that takes advantage of xpcom's ability to figure out where the executable lives on disk. 2000-11-16 01:03:48 +00:00
javi%netscape.com 6162804180 Don't generate a .xSYM file for optimized and use PPC struct alignment instead of 68K struct alignment. 2000-11-16 00:05:29 +00:00
sonmi%netscape.com 83abb88c57 trying iridium/components for a change now... 2000-11-15 23:26:03 +00:00
sonmi%netscape.com b40960af31 added -d CLIENTDIR to the new testclient starts, so NT won't have a problem 2000-11-15 22:20:53 +00:00
sonmi%netscape.com 1c79e4724b exchanged the obsolete iridium/compontents against hs-sca15c/mccrel2 2000-11-15 22:16:48 +00:00
javi%netscape.com 480a1f95e8 Update version number for PSM. 2000-11-15 19:24:07 +00:00
javi%netscape.com 53ad44667f Bring some changes that went into Mac RTM onto the trunk of the PSM tree. 2000-11-15 19:20:28 +00:00
sonmi%netscape.com ce41b46375 fixed a blank that that had gotten in the middle of a variablename 2000-11-15 00:48:36 +00:00
sonmi%netscape.com ba9ea80a07 no more temp files, all saved for later debugging purpose
runs with /bin/sh now
2000-11-14 02:24:44 +00:00
javi%netscape.com a37e024a8f Add text for the module name for root certificates. 2000-11-14 00:02:03 +00:00
javi%netscape.com 9f14760a08 Check in the shell for loading the root cert dll. 2000-11-13 22:57:19 +00:00
sonmi%netscape.com 7342714270 changed and improved selfserver / testclient and stressclient communication
all through the script
2000-11-13 18:49:14 +00:00
javi%netscape.com 24d2cef11e First Checked In. 2000-11-11 02:26:21 +00:00
sonmi%netscape.com fc538d50a5 changed the way the -i option (NULL ciphers) are being handeled once more
also changed shell from ksh to sh, added more output to results.html
2000-11-10 02:07:17 +00:00
nelsonb%netscape.com 686aa7a151 Release the SpecRead Lock before returning in an error path.
This bug was found while reading code looking for a different bug.
2000-11-10 01:36:26 +00:00
mcgreer%netscape.com b7ac7a934c fix the testing for null ciphers by relaunching the server 2000-11-10 00:25:50 +00:00
mcgreer%netscape.com 1f581f8bda pk12util arises from the dead! 2000-11-09 23:00:00 +00:00
mcgreer%netscape.com 4270a44970 make read/write work 2000-11-09 22:59:38 +00:00
javi%netscape.com ff044aad23 Remove a duplicate access path that was an absolute path and would only be good on one development machine. 2000-11-09 22:05:08 +00:00
mcgreer%netscape.com 2cf5418662 only launch the server once for coverage tests 2000-11-09 19:17:55 +00:00
mcgreer%netscape.com 993de1b485 add new ping command to usage 2000-11-09 19:17:04 +00:00
mcgreer%netscape.com ede896e5fc add "-q" option for creating a client which will "ping" the server until it
is available, or for 1 minute, whichever comes first
2000-11-09 18:29:52 +00:00
nelsonb%netscape.com 595cf5ac5d Build rsaperf benchmarking tool during nightly builds now. 2000-11-09 02:03:30 +00:00
javi%netscape.com db99c50dad Clean this project up and make it build with NSS on the tip for both optimized and debugged. No longer link in NSSCrupto libraries since the open NSS libraries now provide that functionality. Don't build mac_rand.c since it gets built as part of the NSS libraries we link in. 2000-11-09 01:08:06 +00:00
javi%netscape.com 063435601b Clean up the project some. Only build sysrand.c instead of sysrand.c and mac_rand.c which ultimately are the same thing. 2000-11-09 01:06:22 +00:00
mcgreer%netscape.com a52d9d99a7 initial mozilla checkin of the roots from the following companies:
Verisign/Thawte
Valicert
BelSign/GlobalSign
TrustCenter
2000-11-08 22:07:51 +00:00
nelsonb%netscape.com 45daa22eba Add new default public and private RSA keys. 2000-11-08 02:46:20 +00:00
nelsonb%netscape.com 7a6c3be3e4 Add values for test modulus and exponent for benchmarking purposes. 2000-11-08 02:44:17 +00:00
nelsonb%netscape.com c029359f7f Fix mpp_pprime (Miller-Rabin Pseudo Primality test) to report MP_NO,
instead of MP_OKAY, for numbers == 3 mod 4 that are composite.
Also added two test cases to mpi-test.c.  Fixes bug 59438.
2000-11-08 01:52:52 +00:00