348 Commits

Author SHA1 Message Date
mcgreer%netscape.com
d3ac6ff28c certs-only does not require input
git-svn-id: svn://10.0.0.236/trunk@83676 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 23:59:33 +00:00
nelsonb%netscape.com
d965703b1e Make the -d option unnecessary when the built-in key is being used,
e.g. when -n none  has been specifed.


git-svn-id: svn://10.0.0.236/trunk@83583 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-13 01:38:14 +00:00
mcgreer%netscape.com
95e43bf5fa cmsutil was broken for STDIN input
git-svn-id: svn://10.0.0.236/trunk@83486 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 18:42:58 +00:00
larryh%netscape.com
9bb1174fda Bugzilla: 62396, fix threads in selfserv.c
git-svn-id: svn://10.0.0.236/trunk@83424 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 01:35:54 +00:00
relyea%netscape.com
d16864a195 OpenVMS changes bug 60143
git-svn-id: svn://10.0.0.236/trunk@83384 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 22:25:18 +00:00
relyea%netscape.com
9dc0a0150f Open VMS changes bug 60143
git-svn-id: svn://10.0.0.236/trunk@83383 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 22:24:46 +00:00
mcgreer%netscape.com
f37b3872a2 fix debug output so it doesn't crash
git-svn-id: svn://10.0.0.236/trunk@83380 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 18:38:27 +00:00
nelsonb%netscape.com
c2c5c3c012 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.


git-svn-id: svn://10.0.0.236/trunk@83362 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 05:34:50 +00:00
mcgreer%netscape.com
323f81b560 still more debug output
git-svn-id: svn://10.0.0.236/trunk@83332 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 22:35:52 +00:00
mcgreer%netscape.com
3e40898168 add some debug output to try and track down HP64 QA problem
git-svn-id: svn://10.0.0.236/trunk@83292 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 23:58:01 +00:00
mcgreer%netscape.com
fc9d876e3f uninit'ed var causes problem on some platforms
git-svn-id: svn://10.0.0.236/trunk@83241 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-05 01:13:24 +00:00
mcgreer%netscape.com
a35f8e524d table wasn't wide enough for long runs
git-svn-id: svn://10.0.0.236/trunk@83195 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 23:48:22 +00:00
mcgreer%netscape.com
cd71db259e fix broken AIX build
git-svn-id: svn://10.0.0.236/trunk@83184 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 19:00:50 +00:00
mcgreer%netscape.com
12e48a8181 check in b64 encoded seeds
git-svn-id: svn://10.0.0.236/trunk@83171 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 01:31:18 +00:00
mcgreer%netscape.com
8cbcd772e8 massive changes to blapitest to allow for more flexible input types and improved
performance testing output.


git-svn-id: svn://10.0.0.236/trunk@83170 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 01:24:05 +00:00
mcgreer%netscape.com
ad905472c3 fix broken builds, linked in wrong order
git-svn-id: svn://10.0.0.236/trunk@83136 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-30 19:13:01 +00:00
relyea%netscape.com
1435766bb3 Fix type casting problems in zip.c
git-svn-id: svn://10.0.0.236/trunk@82989 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:25:36 +00:00
relyea%netscape.com
1755211ed7 remove extre PR_PUBLIC definition so everything will compile under AIX
git-svn-id: svn://10.0.0.236/trunk@82988 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:24:55 +00:00
mcgreer%netscape.com
b907026ac7 fix missing libraries in windows build
git-svn-id: svn://10.0.0.236/trunk@82987 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:21:38 +00:00
relyea%netscape.com
f1b29b3e4a Add pkcs12 so the pk12util.c builds
git-svn-id: svn://10.0.0.236/trunk@82983 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 22:08:45 +00:00
relyea%netscape.com
0b66bf6e0a Use platlibs so the the builds work on NT as well.
git-svn-id: svn://10.0.0.236/trunk@82982 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 22:08:23 +00:00
mcgreer%netscape.com
1b936cd382 changes suggested by bryner to build more of NSS's utilities
git-svn-id: svn://10.0.0.236/trunk@82945 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 00:36:53 +00:00
nelsonb%netscape.com
d42e69e615 When disabling SSL2, also disable ssl2 compatible client hellos.
This allows us to test with TLS servers that don't grok ssl2 hellos.


git-svn-id: svn://10.0.0.236/trunk@82750 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 21:57:02 +00:00
mcgreer%netscape.com
f8536ee745 pk12util arises from the dead!
git-svn-id: svn://10.0.0.236/trunk@82507 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 23:00:00 +00:00
mcgreer%netscape.com
26c5151a23 add new ping command to usage
git-svn-id: svn://10.0.0.236/trunk@82474 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 19:17:04 +00:00
mcgreer%netscape.com
e941348583 add "-q" option for creating a client which will "ping" the server until it
is available, or for 1 minute, whichever comes first


git-svn-id: svn://10.0.0.236/trunk@82465 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 18:29:52 +00:00
nelsonb%netscape.com
65d4fcca9a Build rsaperf benchmarking tool during nightly builds now.
git-svn-id: svn://10.0.0.236/trunk@82457 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 02:03:30 +00:00
nelsonb%netscape.com
0f1491f068 Add new default public and private RSA keys.
git-svn-id: svn://10.0.0.236/trunk@82408 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-08 02:46:20 +00:00
mcgreer%netscape.com
ba1581843a set up RNG for self-test (DSA needs it), and set default RSA public exponent
to 2**16 + 1


git-svn-id: svn://10.0.0.236/trunk@82295 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-04 01:11:48 +00:00
mcgreer%netscape.com
52d2b6f439 option for printing content version
git-svn-id: svn://10.0.0.236/trunk@82283 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-03 22:28:26 +00:00
mcgreer%netscape.com
e9a877c6a0 back out last change
git-svn-id: svn://10.0.0.236/trunk@82225 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 07:45:35 +00:00
mcgreer%netscape.com
3ae48fafea option for dumping values in RSA key
git-svn-id: svn://10.0.0.236/trunk@82224 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-02 07:44:47 +00:00
nelsonb%netscape.com
92b8c51f00 Functions that provide default RSA public and private key for performance
benchmarks.  Values for these keys to be supplied in next revision.


git-svn-id: svn://10.0.0.236/trunk@81772 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-26 00:29:09 +00:00
nelsonb%netscape.com
40254f7a50 RSA performance benchmark program, ported to blapi from NSS 2.8.
git-svn-id: svn://10.0.0.236/trunk@81765 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 23:17:54 +00:00
nelsonb%netscape.com
13d86005dc 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.


git-svn-id: svn://10.0.0.236/trunk@81097 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 01:25:44 +00:00
nelsonb%netscape.com
7bb5b85b3b 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.


git-svn-id: svn://10.0.0.236/trunk@81085 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:50:05 +00:00
nelsonb%netscape.com
f8dc950690 Add new -N option. N means "No session reuse." -N disables the client
session cache, forcing all SSL handshakes to be FULL RSA handshakes.


git-svn-id: svn://10.0.0.236/trunk@81084 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 00:47:57 +00:00
wtc%netscape.com
2e3c2cc514 Fixed the comment.
git-svn-id: svn://10.0.0.236/trunk@80915 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 07:21:38 +00:00
mcgreer%netscape.com
5fbd7e283b also do binary on stdout DER
git-svn-id: svn://10.0.0.236/trunk@80914 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 07:12:45 +00:00
mcgreer%netscape.com
cf3a7c75cb binary output always, for now
git-svn-id: svn://10.0.0.236/trunk@80913 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 07:04:30 +00:00
mcgreer%netscape.com
fff90deec0 fix output of DER's on windows
git-svn-id: svn://10.0.0.236/trunk@80912 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 06:52:06 +00:00
mcgreer%netscape.com
e7afcf22fd add a new function, SECU_TextFileToItem, for reading text files.
git-svn-id: svn://10.0.0.236/trunk@80875 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 00:56:32 +00:00
mcgreer%netscape.com
4ff87894d0 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.
git-svn-id: svn://10.0.0.236/trunk@80874 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 00:55:45 +00:00
wtc%netscape.com
45c91f68a1 Print NSPR and OS error codes if PR_Open fails.
git-svn-id: svn://10.0.0.236/trunk@80790 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 02:38:08 +00:00
nelsonb%netscape.com
ee37b23eff All output messages from strsclnt now begin with the string "strsclnt: ".
This makes it easier to separate mixed client and server output.


git-svn-id: svn://10.0.0.236/trunk@80789 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-10 02:10:25 +00:00
nelsonb%netscape.com
41fa542495 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.


git-svn-id: svn://10.0.0.236/trunk@80761 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-09 23:39:46 +00:00
nelsonb%netscape.com
f2d9c67c2f Fix a crash caused by using a null PRFileDesc * after PR_Open fails.
git-svn-id: svn://10.0.0.236/trunk@80638 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 02:16:03 +00:00
nelsonb%netscape.com
9f8a17787d 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.


git-svn-id: svn://10.0.0.236/trunk@80613 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 23:26:12 +00:00
nelsonb%netscape.com
c9723eb5f8 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.


git-svn-id: svn://10.0.0.236/trunk@80599 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 21:45:01 +00:00
nelsonb%netscape.com
ae5c056a86 Call NSS_NoDB_Init instead of that broken old SECU_PKCS11Init.
Also, test to see that the init succeeded.


git-svn-id: svn://10.0.0.236/trunk@80598 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-06 21:40:52 +00:00