Commit Graph

431 Commits

Author SHA1 Message Date
nelsonb%netscape.com
14c87961d5 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
59a40ba22f Suppress EOF messages unless running with -v. Bug 60879. 2001-01-13 00:55:30 +00:00
mcgreer%netscape.com
1bd1fe5b0b removing use of external NSS_CMSArray_Count 2001-01-12 18:37:41 +00:00
nelsonb%netscape.com
eea673c43a 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
fbb67a9c4c Eliminate warnings about functions returning values of the wrong type. 2001-01-07 07:49:22 +00:00
nelsonb%netscape.com
a97e2c5e3d Add missing declaration of library function printflags(). 2001-01-07 07:48:04 +00:00
nelsonb%netscape.com
6edc66e859 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
920c5a1f77 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
1ddc0c071d Get this file to build again on Windows. 2001-01-07 07:44:39 +00:00
nelsonb%netscape.com
cf51c9006f Add missing #include "nss.h" 2001-01-07 07:43:28 +00:00
relyea%netscape.com
69ba9f4f57 Move SDR tests to use nss dll's 2001-01-07 00:32:36 +00:00
relyea%netscape.com
941360ff6e Remove depricated Open function 2001-01-07 00:29:25 +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
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
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
793dba6814 Stop using deprecated SSL functions. Convert them to the supported ones. 2001-01-06 02:40:02 +00:00
mcgreer%netscape.com
dcf2480ab4 add support for AES
reduce compiler warnings
2001-01-05 22:38: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
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
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
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
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
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
wtc%netscape.com
175186f0b2 Put -lnss3 after -lsmime3 and -lssl3, which depend on -lnss3. 2000-12-28 00:49:50 +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
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
mcgreer%netscape.com
2321dc1d05 dump usage before doing anything when no args passed, bug 63520 2000-12-21 22:14:02 +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
mcgreer%netscape.com
c7b1494e18 certs-only does not require input 2000-12-14 23:59:33 +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
mcgreer%netscape.com
897ecedd23 cmsutil was broken for STDIN input 2000-12-11 18:42:58 +00:00
larryh%netscape.com
e769c1df54 Bugzilla: 62396, fix threads in selfserv.c 2000-12-09 01:35:54 +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
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
mcgreer%netscape.com
774c8f0401 still more debug output 2000-12-06 22:35:52 +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
mcgreer%netscape.com
9ce79d6c32 table wasn't wide enough for long runs 2000-12-01 23:48:22 +00:00
mcgreer%netscape.com
092f821fa4 fix broken AIX build 2000-12-01 19:00:50 +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
8657145db0 fix broken builds, linked in wrong order 2000-11-30 19:13:01 +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
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
mcgreer%netscape.com
a69820a596 changes suggested by bryner to build more of NSS's utilities 2000-11-28 00:36:53 +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
mcgreer%netscape.com
1f581f8bda pk12util arises from the dead! 2000-11-09 23:00:00 +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
nelsonb%netscape.com
45daa22eba Add new default public and private RSA keys. 2000-11-08 02:46:20 +00:00
mcgreer%netscape.com
93f388db16 set up RNG for self-test (DSA needs it), and set default RSA public exponent
to 2**16 + 1
2000-11-04 01:11:48 +00:00
mcgreer%netscape.com
47d9d1ddb3 option for printing content version 2000-11-03 22:28:26 +00:00
mcgreer%netscape.com
89ff5ab2e3 back out last change 2000-11-02 07:45:35 +00:00
mcgreer%netscape.com
c574758854 option for dumping values in RSA key 2000-11-02 07:44:47 +00:00
nelsonb%netscape.com
d2df084113 Functions that provide default RSA public and private key for performance
benchmarks.  Values for these keys to be supplied in next revision.
2000-10-26 00:29:09 +00:00
nelsonb%netscape.com
2b82871510 RSA performance benchmark program, ported to blapi from NSS 2.8. 2000-10-25 23:17:54 +00:00
nelsonb%netscape.com
1b19b2d3b6 An enhancement to the new -N feature. When -N is selected, do NOT wait
for the first https request to finish before launching all the others.
2000-10-13 01:25:44 +00:00
nelsonb%netscape.com
78d958f2e2 Add -v option. v means "verbose progress messages". Formerly, this
program was always very verbose.  Now, it only outputs progress messages
when -v is specified.  This is very useful for interactive use.
Cache statistics are written to stderr.
2000-10-13 00:50:05 +00:00
nelsonb%netscape.com
1f1201dd3d Add new -N option. N means "No session reuse." -N disables the client
session cache, forcing all SSL handshakes to be FULL RSA handshakes.
2000-10-13 00:47:57 +00:00
wtc%netscape.com
277f8ea47d Fixed the comment. 2000-10-11 07:21:38 +00:00
mcgreer%netscape.com
afd1c689cf also do binary on stdout DER 2000-10-11 07:12:45 +00:00
mcgreer%netscape.com
2d404f1980 binary output always, for now 2000-10-11 07:04:30 +00:00
mcgreer%netscape.com
abf11ef663 fix output of DER's on windows 2000-10-11 06:52:06 +00:00
mcgreer%netscape.com
bf75619d8f add a new function, SECU_TextFileToItem, for reading text files. 2000-10-11 00:56:32 +00:00
mcgreer%netscape.com
c66491f1f7 seperate text file reads from binary reads. Change all base64 encoded ciphertexts to end in LF instead of CRLF. This caused a bug on windows when checking out from CVS. 2000-10-11 00:55:45 +00:00
wtc%netscape.com
f7cb9d9b93 Print NSPR and OS error codes if PR_Open fails. 2000-10-10 02:38:08 +00:00
nelsonb%netscape.com
34c1f51a9d All output messages from strsclnt now begin with the string "strsclnt: ".
This makes it easier to separate mixed client and server output.
2000-10-10 02:10:25 +00:00
nelsonb%netscape.com
05b9dba846 When an invalid option is encountered, print the usage message and exit.
Previously, it would simply silently stop parsing options and the program
would continue to run, leading to false successes in coverage tests.
2000-10-09 23:39:46 +00:00
nelsonb%netscape.com
96a4822448 Fix a crash caused by using a null PRFileDesc * after PR_Open fails. 2000-10-07 02:16:03 +00:00
nelsonb%netscape.com
5d154d8d5f In lib/smime, detect null pointers returned by various functions.
Christian Kaiser fixed the test script to pass the right directory name
to the test program.  The test script echoes all the cmsutil test
commands so that the error messages are associated with the proper one.
And cmsutil now puts its name on the front of its error messages.
2000-10-06 23:26:12 +00:00
nelsonb%netscape.com
90e2a74ac6 Call NSS_InitReadWrite instead of SECU_PKCS11Init, and check the result
for success.  Fixes a crash.  If it turns out that cmsutil doesn't need
to modifiy the cert and/or key DBs, then it should call NSS_Init, instead.
2000-10-06 21:45:01 +00:00
nelsonb%netscape.com
5afb009e51 Call NSS_NoDB_Init instead of that broken old SECU_PKCS11Init.
Also, test to see that the init succeeded.
2000-10-06 21:40:52 +00:00
nelsonb%netscape.com
2dd71c3c55 Prefix all selfserv's output messages with "selfserv: " so we can tell
client messages apart from server messages when the two are mixed.
When the verbose option is enabled, print out the session reuse stats
right after the first PR_Read completes, so we don't miss any.
2000-10-05 04:14:44 +00:00
nelsonb%netscape.com
c916074eb3 3 Changes:
- Test SSL2 (not SSL3) when only SSL2 ciphers have been chosen.
- Use a different metric for determining when multiple full handshakes
have been done with SSL2.  (Can't use SSL3's counters for that purpose.)
- When PR_Connect returns a "connection reset by peer" error, silently
retry the operation with a new socket.
2000-10-05 04:11:31 +00:00
mcgreer%netscape.com
c65d5e509e checked in wrong fix. 2000-10-05 02:41:09 +00:00
mcgreer%netscape.com
286b860d4f fix for bug #55190. Some 64-bit platforms will not return an alloc'ed pointer from an undeclared function. 2000-10-05 01:39:35 +00:00
wtc%netscape.com
e4efb1f7c1 Added bltest. 2000-10-03 02:45:59 +00:00
nelsonb%netscape.com
37f88721c8 Fix bug 54956, and cleanup some other things. Warning reduction. 2000-10-03 00:36:53 +00:00
mcgreer%netscape.com
55b0cfddec fix problems encountered in shell script. it appears that "echo nss > passfile" creates a file with 6 bytes on NT using the dos shell. the added bytes were causing problems with password files, which this while loop attempted to fix. however, it broke DER-encoded input that has added whitespace at the end. this checkin returns SECU_FileToItem to it's original state, which blindly accepts whitespace characters at the end of the file.
the second change is forced because SECITEM_AllocItem asserts dst->data == NULL, and many NSS utilities pass uninitialized SECItem's around.  In the future, those should be fixed, but for now zero the output buffer.
2000-10-02 22:30:27 +00:00
mcgreer%netscape.com
ccd7cc788f changes to use blapitest on NT. 2000-09-29 22:27:14 +00:00
mcgreer%netscape.com
6d3b3ca957 brutish changes to get encrypted data working, will clean up later. allows test script for 3.1 to work. 2000-09-29 16:37:29 +00:00
mcgreer%netscape.com
255eadd741 add seeding call (for 3.1, for 3.2 I think this function needs to go away). 2000-09-29 15:27:00 +00:00
mcgreer%netscape.com
f912a0ccf0 add seeding call (req by RNG) 2000-09-29 15:25:42 +00:00
mcgreer%netscape.com
5a93a08faa changes to allow build with RSA BSAFE Crypto-C library 2000-09-29 02:15:42 +00:00
nelsonb%netscape.com
0bd851314f Fix crash when PR_Connect times out. 2000-09-28 01:50:15 +00:00
mcgreer%netscape.com
7f7a3f4d0d changes for nss script. passed tests produce no output. fix dsa test case. 2000-09-27 23:03:21 +00:00
relyea%netscape.com
d630dde968 Use the new NSS_NoDB_init. 2000-09-23 00:00:05 +00:00
wtc%netscape.com
5e0b669489 Bugzilla bug #53114: fixed license. 2000-09-22 14:55:03 +00:00
wtc%netscape.com
41adcd9362 Added a white space. 2000-09-22 14:52:32 +00:00
wtc%netscape.com
1bd68f8f77 Bugzilla bug #53114: fixed license in nss/cmd/zlib/Makefile and
manifest.mn.  Thanks to Brian Ryner <bryner@netscape.com> for the bug
report.
2000-09-22 05:35:35 +00:00
wtc%netscape.com
c42dded4ee One only needs to link with either libcrypto or freebl. We need to copy
freebl/sha_fast.{c,h} to libcrypto to make libcrypto complete.
Modified files: nss/cmd/platlibs.mk, nss/lib/Makefile,
nss/lib/fortcrypt/swfort/pkcs11/Makefile.
2000-09-21 06:20:44 +00:00
relyea%netscape.com
9bd5c43fa0 OS/2 build changes. 2000-09-20 17:07:22 +00:00
mcgreer%netscape.com
30387a4f67 Check in self-test based on FIPS 186-1 appendix 5 2000-09-19 21:14:22 +00:00
chrisk%netscape.com
f86691004e Fix bug # 53221: Call RNG_SystemInfoForRNG to provide RNG with enough
entropy for proper operation.
2000-09-19 19:34:46 +00:00
mcgreer%netscape.com
4cb280cca7 include support for adding S/MIME certs to the database. this will be needed for S/MIME test code. 2000-09-19 16:22:17 +00:00
wtc%netscape.com
82b40af680 Bugzilla bug #53143: removed the definition of NSPR internal macros.
Modified files: FreeBSD.mk, HP-UXB.10.10.mk, HP-UXB.10.20.mk, Linux.mk,
OSF1.mk, SunOS5.mk, cmd/SSLsample/Makefile.NSS, lib/freebl/Makefile.
2000-09-19 02:24:31 +00:00
thayes%netscape.com
b52822dfb4 Initialize random number generator from system information. The new
RNG implementation fails if insufficient seed is not provided, which
would cause SDR key generation to fail.
2000-09-16 00:53:08 +00:00
relyea%netscape.com
800af76224 Fix merge problems from CVS. This version should now compile and work. 2000-09-15 21:01:53 +00:00
mcgreer%netscape.com
38ba5d81e9 NT still buggy with password files, this seems to fix it 2000-09-15 18:45:20 +00:00
mcgreer%netscape.com
2fbeac9dd1 extra #endif broke build 2000-09-15 15:58:42 +00:00
relyea%netscape.com
902093ca00 Propogate the password arg to the sign function. 2000-09-15 15:37:37 +00:00
relyea%netscape.com
b2e3a4121c Fix NT so it can read from a password file. (do the correct EOL conversions).
Fix trust display for certs not in the database.
2000-09-15 15:35:03 +00:00
relyea%netscape.com
d8d0892b85 Fix certutil to read Certs from PKCS #11 modules. Make the 'all' option for
modules work for ListCerts and ListKeys. Allow password from file for these
options as well.
2000-09-14 21:12:13 +00:00
relyea%netscape.com
2af7e43e7e Add option to get the server pid so we can kill the server later. 2000-09-13 21:25:13 +00:00
mcgreer%netscape.com
e130c0a252 fixes RFE from bug 49316 (will test on NT before verifying) 2000-09-13 06:43:52 +00:00
wtc%netscape.com
e9a23de302 Bugzilla bug #52232: remove the yacc rule and also cancel the implicit
yacc and lex rules in the primary Makefile.  Added comments to rules.mk
explaining that Berkeley yacc should be used.
Modified files: Makefile, rules.mk
2000-09-12 18:52:57 +00:00
wtc%netscape.com
f7f49cb31e Bugzilla bug #52232: reverted to revision 1.1, which was generated
by Berkeley yacc 1.4 and hence was portable.  Revision 1.2 was
generated by the yacc in Solaris 2.6 and contained
#include <values.h>, which does not exist on NT.  Always use Berkeley
yacc (latest version is 1.9) to generate installparse.{c,h}.
Modified files: installparse.c, installparse.h
2000-09-12 14:51:06 +00:00
wtc%netscape.com
f4eec2de72 Bugzilla bug #52173: restored the FORCE target for NT. 2000-09-11 21:54:10 +00:00
wtc%netscape.com
43ae02ba26 Bugzilla bug #52173: accept both ytab.{c,h} and y.tab.{c,h} as the output
files of yacc.
2000-09-11 21:40:42 +00:00
mcgreer%netscape.com
fb864bbd31 fix building of ssl sample code 2000-09-11 19:06:50 +00:00
nelsonb%netscape.com
8bad955812 Effectively remove all the code that uses RC5 from the software token
by surrounding it with #if NSS_SOFTOKEN_DOES_RC5
2000-09-07 01:17:00 +00:00
nelsonb%netscape.com
561753ec9d Force installparse.y to be rebuilt on NT. 2000-09-05 20:42:26 +00:00
mcgreer%netscape.com
0be7764833 added fingerprints to list of things dumped with cert, bug 45303 2000-08-30 01:07:12 +00:00
mcgreer%netscape.com
dffd0ca3c8 moved fingerprint handling to secutil.c, see bug 45303 2000-08-30 01:06:00 +00:00
mcgreer%netscape.com
0bc13d686f should be able to set negative offset during cert creation 2000-08-15 05:08:13 +00:00
mcgreer%netscape.com
6ac335d3cd wrong header 2000-08-14 22:50:36 +00:00
mcgreer%netscape.com
e547a95932 *** empty log message *** 2000-08-14 22:04:22 +00:00
relyea%netscape.com
4bd8d5f202 Put modutil back into the daily builds 2000-08-02 18:42:32 +00:00
mcgreer%netscape.com
11bcfbe3d6 fingerprint had to handled in certutil for now since SECU_PrintCertificate receives a decoded DER. see #45303 2000-07-12 22:42:57 +00:00
mcgreer%netscape.com
d42ada9be0 add fingerprints to info dumped with certificate 2000-07-12 20:48:47 +00:00
chrisk%netscape.com
49779ca3c4 Added -d option
-p option now also works for decoding
2000-07-07 00:57:39 +00:00
relyea%netscape.com
1d084af74a merge changes from NSS 3.0 branch to allow NT automated tests to work. 2000-06-29 21:25:41 +00:00
mcgreer%netscape.com
0d70c5df17 add a > wordsize test for RC4 2000-06-29 18:38:30 +00:00
thayes%netscape.com
c960eeb856 Add SDR test command 2000-06-23 22:25:22 +00:00
chrisk%netscape.com
c2fdb05c18 Added and corrected some comments
Added $layercounter
Clarified $boundary generation (a boundary has leading AND trailing CRLFs!)
2000-06-23 18:37:33 +00:00
chrisk%netscape.com
d705ca0332 Preliminary checkin at a state where smime can parse messages generated
by itself.
2000-06-23 16:40:31 +00:00
chrisk%netscape.com
390a6f1dec Add code for generation of SMIMEProfile and SMIMEKeyEncryptionPreference 2000-06-20 16:28:59 +00:00
chrisk%netscape.com
568524e3be Fixed bug in sequence printing code: array counter was overshooting by one 2000-06-20 14:35:17 +00:00
mcgreer%netscape.com
5c4d045072 attempt to add token support for listing certs & keys 2000-06-16 00:38:44 +00:00
mcgreer%netscape.com
1a4bf955be more cleanup on cert listing 2000-06-16 00:36:43 +00:00
chrisk%netscape.com
9f56a873d3 Add generation of SMIMECapabilities 2000-06-14 23:17:52 +00:00
chrisk%netscape.com
fa197d9014 canonicalization step adds CRs to LFs only of there are no CRs present. 2000-06-14 23:15:06 +00:00
chrisk%netscape.com
f7113ab1b2 Merge smimetk_branch to tip... 2000-06-13 21:56:37 +00:00
chrisk%netscape.com
091d437eca Sorted output for certutil -L 2000-06-12 22:25:40 +00:00
mcgreer%netscape.com
12b3563350 iterate context creation for all ciphers when doing performance tests. 2000-06-02 23:09:13 +00:00
mcgreer%netscape.com
10d32a14b9 more performance testing
* timing of context creation for ciphers
* provide system information
2000-06-02 01:40:29 +00:00
mcgreer%netscape.com
23966b8923 fix up file handling. 2000-05-26 23:19:17 +00:00
mcgreer%netscape.com
308ca1e370 break off mode list when next option is reached 2000-05-26 23:09:09 +00:00
mcgreer%netscape.com
9fdfa1ad70 fix dsa self-test 2000-05-26 23:05:05 +00:00
mcgreer%netscape.com
746aedde1f * allow a directory for tests to be specified
* separate pqg generation for dsa test
* fix dsa self-test
2000-05-26 23:04:47 +00:00
mcgreer%netscape.com
d5c80d5666 self-test 2000-05-26 07:53:38 +00:00
mcgreer%netscape.com
0b167f4b76 self-test 2000-05-26 07:48:19 +00:00
mcgreer%netscape.com
8fef6c639b Fix up the hashes to only use one mode. Add self-test capability to bltest (test each of the BLAPI functions). DSA self-test not working at this time. 2000-05-26 07:41:22 +00:00
nelsonb%netscape.com
bdcd27c9cb Use the -g keysize value, instead of DES_KEY_LENGTH, for all crypto
algorithms except DES and 3DES.
2000-05-25 22:42:23 +00:00
nelsonb%netscape.com
a57f63746a Correct the implementation of the options for disabling SSL2, SSL3 and TLS.
Add a new -R option to selfserv, which disables detection of rollback from
TLS to SSL3.0.  This is necessary for testing with broken TLS clients.
2000-05-24 03:44:50 +00:00
mcgreer%netscape.com
5d1cd52439 break a long rsa message into key-sized blocks for testing. 2000-05-23 20:01:31 +00:00
mcgreer%netscape.com
ebf9115175 hash performance functions now look the same as the other ciphers. add a zerobuffer option to avoid creating random buffers when performance testing. 2000-05-19 22:50:48 +00:00
mcgreer%netscape.com
be99cf056a fix up the mode arrays. 2000-05-19 21:02:05 +00:00
mcgreer%netscape.com
2e902ef580 work on making test program more usable.
* added usage
* chaining modes and stream ciphers reset contexts when doing multiple iterations for performance testing
2000-05-19 20:34:05 +00:00
nelsonb%netscape.com
5875fc4cc5 Add support for sha1. Add repetition count argument to -p. 2000-05-19 18:35:53 +00:00
mcgreer%netscape.com
bd476fcdc8 very rudimentary test code for regression tests of BLAPI. 2000-05-18 22:59:42 +00:00
roeber%netscape.com
7f2818aa4e Applying ancient patch to dump out extended key usage extensions 2000-05-18 01:02:40 +00:00
relyea%netscape.com
edb6ec0cf5 Add TLS and SSL flags to modutil.
Allow the Default flag to work specifically on a slot.
2000-05-16 17:27:29 +00:00
relyea%netscape.com
673272c023 1) add code to allow selfserv to reuse existing listen ports when they are 'just haning around' (allows our test suits to run when starting and stopping the server all the time).
2) flush out any server output so it doesn't get lost from out test suites
2000-05-16 17:25:42 +00:00
mcgreer%netscape.com
97c5e2820b In BSAFE build, libfreebl.a has symbols needed by libbsafe.a (memory management). 2000-05-16 00:18:51 +00:00
mcgreer%netscape.com
36eabb038c reordered libraries for builds 2000-05-15 22:59:12 +00:00
mcgreer%netscape.com
50cdc7829c Add condition for BSAFE build. 2000-05-12 23:37:36 +00:00
nelsonb%netscape.com
64d442182a Several fixes. Builds on WIN32. Prints Usage when invalid syntax. 2000-05-08 23:13:10 +00:00
nelsonb%netscape.com
25f97cee57 Detect failure of NSS_Init. 2000-04-06 23:02:44 +00:00
repka%netscape.com
9501e89926 Put "btoa" back into the built directories, since the underlying code
is now available in nss/lib.
2000-04-06 22:45:50 +00:00
repka%netscape.com
f852f35853 Add a trailing CRLF; the encoder doesn't. 2000-04-06 00:15:54 +00:00
relyea%netscape.com
cf7b7608db Update makefiles so NT will build. (and other platforms that don't have symbolic links) 2000-04-03 21:41:33 +00:00
mcgreer%netscape.com
84d9905156 Initial checkin of sslstrength/ssltelnet source. 2000-04-03 20:31:05 +00:00
mcgreer%netscape.com
dbe48be092 Initial checkin of signver source. 2000-04-03 20:24:02 +00:00
mcgreer%netscape.com
8c34a18c15 Initial checkin of signver source. 2000-04-03 20:15:57 +00:00
mcgreer%netscape.com
1f7ca7b2cb Initial checkin of signtool source. 2000-04-03 19:08:51 +00:00
mcgreer%netscape.com
725d3b78b6 Initial checkin of pk12util source. 2000-04-03 18:56:53 +00:00
relyea%netscape.com
6836d54003 Remove modutil until we can fix a build problem. 2000-03-31 20:59:58 +00:00
relyea%netscape.com
a86f4bbdb8 remove an incorrectly checked in file 2000-03-31 20:50:44 +00:00
relyea%netscape.com
9fd7059a19 Initial NSS Open Source checkin 2000-03-31 20:13:40 +00:00