Commit Graph

125 Commits

Author SHA1 Message Date
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