836 Commits

Author SHA1 Message Date
sonmi%netscape.com
4f96bbab84 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...)


git-svn-id: svn://10.0.0.236/trunk@83527 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 05:10:51 +00:00
sonmi%netscape.com
ec7045b301 first attempt of a platformlist, still misses windows platforms
git-svn-id: svn://10.0.0.236/trunk@83510 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 01:44:20 +00:00
mcgreer%netscape.com
6ca119ede9 hopefully fixes HP 64-bit opt QA failures, where cmsutil fails first time it is executed from script
git-svn-id: svn://10.0.0.236/trunk@83487 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-11 19:38:16 +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
nelsonb%netscape.com
afa885868c 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.


git-svn-id: svn://10.0.0.236/trunk@83433 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 03:36:41 +00:00
nelsonb%netscape.com
1367cfcdaf 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.


git-svn-id: svn://10.0.0.236/trunk@83432 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 03:32:41 +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
sonmi%netscape.com
aa69291244 added timestamps for stresstest per nelson's request
git-svn-id: svn://10.0.0.236/trunk@83412 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 23:49:55 +00:00
nelsonb%netscape.com
d13601b2b6 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.


git-svn-id: svn://10.0.0.236/trunk@83393 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 03:35:29 +00:00
nelsonb%netscape.com
d65fb44585 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.


git-svn-id: svn://10.0.0.236/trunk@83388 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 00:20:36 +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
relyea%netscape.com
47080d092a Open VMS changes: bug 60143.
git-svn-id: svn://10.0.0.236/trunk@83382 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-07 22:23:06 +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
ddrinan%netscape.com
4018e327ac Fix for bug 60909. r=javi@netscape.com, bryner@netscape.com. sr=brendan@mozilla.org, leaf@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@83339 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 23:45:42 +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
relyea%netscape.com
3eadad382a Check in openVMS changes from but 60143
git-svn-id: svn://10.0.0.236/trunk@83331 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 22:31:56 +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
nelsonb%netscape.com
4d2d37c131 Use the new floating point Montgomery multiply code from Sun on Solaris.
git-svn-id: svn://10.0.0.236/trunk@83205 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 02:37:22 +00:00
nelsonb%netscape.com
31f013d0e6 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.


git-svn-id: svn://10.0.0.236/trunk@83200 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-02 00:54:01 +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
61eaf70faf allow for more granularity in testing
git-svn-id: svn://10.0.0.236/trunk@83190 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 21:50:57 +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
nelsonb%netscape.com
69b5cdadbd Back out a previous change to one line of this code for performance.
git-svn-id: svn://10.0.0.236/trunk@83178 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 03:58:17 +00:00
nelsonb%netscape.com
c13f8e7057 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.


git-svn-id: svn://10.0.0.236/trunk@83177 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 03:56:12 +00:00
nelsonb%netscape.com
bb03e50b31 Replace compiler-generated inner loop code with optimized code.
This optimized code was contributed by Sun Microsystems Inc.


git-svn-id: svn://10.0.0.236/trunk@83176 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 03:53:13 +00:00
nelsonb%netscape.com
57f86c8e45 * 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.


git-svn-id: svn://10.0.0.236/trunk@83175 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 03:18:27 +00:00
nelsonb%netscape.com
93bbef4ef2 * 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.


git-svn-id: svn://10.0.0.236/trunk@83174 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 03:17:53 +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
dc265ee589 add scripts for testing cipher performance. modify cipher.sh to reflect command arg changes in blapitest.
git-svn-id: svn://10.0.0.236/trunk@83169 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-01 01:09:44 +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
javi%netscape.com
e14cfff1fb Plug some memory leaks that were brought to my attention by brendan. Not part of Mozilla build just yet.
git-svn-id: svn://10.0.0.236/trunk@83066 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:41:23 +00:00
javi%netscape.com
1c9073e67b Fix busted loading of module for WIN32 and delete the TextGenContext used to fetch the name of the module for the root certificates.
git-svn-id: svn://10.0.0.236/trunk@83049 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 20:00:21 +00:00
nelsonb%netscape.com
b4b40e23e1 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.


git-svn-id: svn://10.0.0.236/trunk@83024 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 04:07:10 +00:00
nelsonb%netscape.com
39f1abdcff Fix bug 61394. Don't increase length of input vector by 1. Avoid
copying the vector twice.


git-svn-id: svn://10.0.0.236/trunk@83014 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:30:28 +00:00
sonmi%netscape.com
e108bbd381 took out the NULL_SERVER restart code completely
git-svn-id: svn://10.0.0.236/trunk@83002 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:09:33 +00:00
sonmi%netscape.com
65986aa49b more outpur (2>) to the certutil log file
git-svn-id: svn://10.0.0.236/trunk@83000 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:08:59 +00:00
sonmi%netscape.com
0787049cb0 took out the tail -f if running from cron
git-svn-id: svn://10.0.0.236/trunk@82999 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 01:07:59 +00:00
relyea%netscape.com
900bfbac2d Use NSS_Init() to open the databases.
Include pk11func.h so we get the proper forward function definition.


git-svn-id: svn://10.0.0.236/trunk@82993 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:37:52 +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
javi%netscape.com
d69ec65a7c Include prototype for converting a mac path to unix path.
git-svn-id: svn://10.0.0.236/trunk@82986 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:04:16 +00:00
javi%netscape.com
2a7264244b Version of ctrlconn.c that loads root modules for Mac.
git-svn-id: svn://10.0.0.236/trunk@82985 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 23:02:37 +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
ddrinan%netscape.com
ed85119cf3 Suppress the depend target
git-svn-id: svn://10.0.0.236/trunk@82981 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-28 22:01:56 +00:00