Commit Graph

833 Commits

Author SHA1 Message Date
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
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
sonmi%netscape.com
587cd404c6 took unneccessart warning out 2000-12-19 20:56:28 +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
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
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
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
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
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
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
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
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
relyea%netscape.com
3cb959d7b5 Check in PKCS #11 test suite. 2000-11-21 23:56:51 +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
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
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
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
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
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
javi%netscape.com
e55b920ee5 Add the MP_API_COMPATIBLE for Mac builds so that MPI libraries build
correctly.
2000-11-08 01:16:04 +00:00
javi%netscape.com
8106534690 Modify the NSS project to use the new freebl code 2000-11-08 01:12:09 +00:00
javi%netscape.com
ae93637c3d Make this file buildable on Mac 2000-11-08 01:11:23 +00:00
javi%netscape.com
9d91f9ba1b Make this file build on the Mac. 2000-11-08 01:06:47 +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
mcgreer%netscape.com
0bc2e73f90 Changes to RSA keygen:
* use mp_invmod instead of mp_xgcd.  nelsonb optimized mp_invmod for even moduli, and this will take advantage of it.
* Assure that p > q.
* Assure that n is actually keysizeInBits long by setting the two high-order bits of p and q during generation.  Previously, it was possible for n to be 1 bit short.
2000-10-31 16:52:31 +00:00
nelsonb%netscape.com
575f23cc64 Performance benchmark for modular exponentiation.
Test modulus and exponent to be added later.
2000-10-26 23:30:50 +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
667d4a7e36 New implementation of mp_invmod for even moduli. 3x-500x faster than
xgcd for even moduli.
2000-10-24 21:32:53 +00:00
mcgreer%netscape.com
e7bf810f5e fix for 64-bit platforms. 2000-10-18 15:41:23 +00:00
wtc%netscape.com
1998a4a631 Bugzilla bug #56442: checked in generated files as a result of a new
ckapi.perl.
Modified files: nssck.api nssckepv.h nssckft.h nssckg.h
2000-10-14 01:29:12 +00:00
wtc%netscape.com
54a25c375e Bugzilla bug #56442: the DLL name on Windows should be nssckbi.dll, not
nssckbi32.dll.
2000-10-13 22:42:53 +00:00
wtc%netscape.com
cb99b22ff1 Bugzilla bug #56442: struct CK_FUNCTION_LIST must have the pack pragma
on Windows.  C_GetFunctionList must be DLL exported on Windows.
2000-10-13 22:41:36 +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
nelsonb%netscape.com
6534f684da * 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-10-13 00:30:36 +00:00
nelsonb%netscape.com
00b0412ddb * 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-10-13 00:28:48 +00:00
nelsonb%netscape.com
67dc4d8c49 * interface file 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-10-13 00:28:08 +00:00
nelsonb%netscape.com
5e81658537 * The Original Code is SPARC 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-10-13 00:27:04 +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
wtc%netscape.com
4ec77975fc Commented out 'rm -rf ${TEMPFILES}' because TEMPFILES is not defined. 2000-10-11 06:47:36 +00:00
wtc%netscape.com
4b2e654d35 Fixed the echo output to match the command. 2000-10-11 06:46:05 +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
nelsonb%netscape.com
c0cf47974f Change the working directory to the test directory before running
certutil -S, which creates files in the current working directory.
2000-10-10 03:12:31 +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
fdd0021538 With this change, SSL will not crash if the next lower layer's Recv
function returns more data than we asked for.  SSL will turn that event
into a PR_BUFFER_OVERFLOW_ERROR error.  iWS team asked for this.
2000-10-07 02:22:22 +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
c813d8dd66 Fix a crash that occurs when NSS is initialized with NSS_NoDB_Init. 2000-10-06 21:38:57 +00:00
nelsonb%netscape.com
5042645350 Implement new function NSS_InitReadWrite, which is just like NSS_Init
except that it opens the files read/write.  This is to replace the
broken SECU_ routines in nss/cmd/lib.
2000-10-06 21:37:25 +00:00
nelsonb%netscape.com
c37f533589 The SSL client cache timeout values for SSL2 and SSL3 were reversed.
This caused all SSL3 sessions to timeout after 100 seconds. Bug 55231.
2000-10-05 23:10:14 +00:00
wtc%netscape.com
8627427998 Bugzilla bug #55267: checked in a workaround for a tight spin in
PK11_GetSlotList on 64-bit HP-UX.
2000-10-05 04:24:04 +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
wtc%netscape.com
27506fb1b6 Bugzilla bug #54711: implemented the moz_import rule for OS/2. 2000-10-05 04:12:30 +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
nelsonb%netscape.com
a8bb31e2ef Change the client options so that we actually test SSL2 when we say
we're testing SSL2, and test SSL3 when we say we're testing SSL3.
2000-10-05 04:05:32 +00:00
nelsonb%netscape.com
9e5ed29057 Make the "nocerts" option for this script work properly.
Also, add a new "verbose" option to this script.
2000-10-05 04:04:37 +00:00
nelsonb%netscape.com
70da3de4e7 If $HOME or $DOMSUF is undefined, put out an error message and stop,
instead of going on and producing complicated and meaningless results.
2000-10-05 04:03:53 +00:00
mcgreer%netscape.com
8882eb9358 HPUX 64-bit also failed. 2000-10-05 02:47:43 +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
mcgreer%netscape.com
4979496e5a workaround for bug #55234. optimized arcfour is not working on solaris 64-bit. 2000-10-05 01:33:54 +00:00
wtc%netscape.com
dbc734c29c Backed out the previous checkin (which was not necessary). 2000-10-03 06:19:42 +00:00
wtc%netscape.com
8b7a47a6ec On Windows use cp -r to implement the moz_import rule. 2000-10-03 04:58:30 +00:00
wtc%netscape.com
e4efb1f7c1 Added bltest. 2000-10-03 02:45:59 +00:00
ddrinan%netscape.com
f9530e656a Allocate the padded result arena with the correct length 2000-10-03 00:58:39 +00:00
wtc%netscape.com
c03119002d Bugzilla bug #54711: removed unused variables MOZ_DIST and MOZ_LIB
from OS2.mk.  Handle the different names of plc4 and plds4 libraries
on OS/2.  Thanks to Huynh Trinh <hctrinh@us.ibm.com> for the patch.
Modified Files:
    coreconf/OS2.mk nss/lib/ckfw/builtins/Makefile
    nss/lib/fortcrypt/swfort/pkcs11/Makefile
2000-10-03 00:58:18 +00:00
nelsonb%netscape.com
37f88721c8 Fix bug 54956, and cleanup some other things. Warning reduction. 2000-10-03 00:36:53 +00:00
wtc%netscape.com
6f3f7bb91a Bugzilla bug #49477: fixed memory leak in CERT_OpenCertDB. Have
certDBFilenameCallback duplicate the filename string so that its
return value can be freed.
2000-10-02 23:23:50 +00:00
wtc%netscape.com
1f2ad178df Bugzilla bug #54869: support gcc for 32-bit Solaris/SPARC build. 2000-10-02 22:52:43 +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
544ec0f11a fix 3.1 bugs: change && to || for arg check, two new functions are static 2000-10-02 17:39:37 +00:00
wtc%netscape.com
dcc518443a Bugzilla bug #39476: free the dbname in the success case. 2000-10-01 17:13:34 +00:00
wtc%netscape.com
8f9818ec7d Restored the printing of the runtime library search path. 2000-10-01 06:14:57 +00:00
wtc%netscape.com
d73aad26aa Deleted an extra echo command. 2000-10-01 06:01:32 +00:00
wtc%netscape.com
bc7b66ba1f Deleted an extra cp. 2000-10-01 05:09:17 +00:00
wtc%netscape.com
94c1f559e1 Bugzilla bug #54711: use full maci on OS/2. Thanks to hctrinh@us.ibm.com
(Huynh Trinh) for the patch.
2000-10-01 03:29:42 +00:00
wtc%netscape.com
906deebf85 Bugzilla bug #54711: fixed a typo. Thanks to hctrinh@us.ibm.com
(Huynh Trinh) for the patch.
2000-10-01 03:17:56 +00:00
wtc%netscape.com
2444aa8c5e Added missing closing comment delimiter "*/". 2000-09-30 04:30:08 +00:00
nelsonb%netscape.com
e118ef4f63 Incorporate multiplication performance enhancements for UltraSparc CPUs
with the VIS instructions.
2000-09-30 01:46:30 +00:00
nelsonb%netscape.com
c206d3e3c8 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-09-30 01:43:27 +00:00
nelsonb%netscape.com
191a128491 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-09-29 23:39:30 +00:00
nelsonb%netscape.com
431bb85395 The Initial Developer of the Original Code is Sun Microsystems Inc.
Portions created by Sun Microsystems Inc. are
Copyright (C) 1995-2000 Sun Microsystems Inc.  All Rights Reserved.
2000-09-29 23:38:05 +00:00
mcgreer%netscape.com
84207edf1c add cipher and smime to the pantheon of nss tests. 2000-09-29 22:31:11 +00:00
mcgreer%netscape.com
81cb1fd3ce change for BSAFE. on windows, nsinstall will do copy instead of link.
need to forcibly remove library before attempting to reinstall.
2000-09-29 22:30:09 +00:00
mcgreer%netscape.com
ccd7cc788f changes to use blapitest on NT. 2000-09-29 22:27:14 +00:00
nelsonb%netscape.com
9b1d01f3fd Don't use type "ulong". Use "unsigned long" instead. 2000-09-29 19:51:32 +00:00
wtc%netscape.com
af0f02a163 Initial NetBSD port contributed by Shin'ichiro TAYA <taya@sm.sony.co.jp>.
Modified Files:
    coreconf/config.mk nss/lib/util/unix_rand.c
Added Files:
    coreconf/NetBSD.mk
2000-09-29 17:42:39 +00:00
mcgreer%netscape.com
3ac9e05c1a initial checkin of smime test script. does signed-data, enveloped-data, encrypted-data, and certs-only (basic cases). 2000-09-29 16:39:13 +00:00
mcgreer%netscape.com
25b1ead59c add a shortcut encoder routine. 2000-09-29 16:38:11 +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
nelsonb%netscape.com
50098f2c22 Fix some bugs from the last checkin. 2000-09-29 04:03:34 +00:00
mcgreer%netscape.com
5a93a08faa changes to allow build with RSA BSAFE Crypto-C library 2000-09-29 02:15:42 +00:00
mcgreer%netscape.com
05a6d4f086 change to allow builds with RSA BSAFE Crypto-C library 2000-09-29 02:14:03 +00:00
mcgreer%netscape.com
181442bd0a fixes based on review by nelsonb:
use mp_sub instead of mp_mod when possible.
increment generator candidate for DH instead of creating a new random one each time.
fix potential bugs when DH_Derive and KEA_Derive, where the secret is longer than the buffer the user requests.
check input key size to RSA_NewKey.
implement private key op with no CRT for PKCS12.
reduce base mod p and q before using mp_exptmod.
use mpl_lsh in pqg code (in place of exponent and multiply).
change PQG_Verify to return SECSuccess unless there is a library failure (not if verification fails).
2000-09-29 02:10:24 +00:00
nelsonb%netscape.com
58b6dcc398 Add mp_set_long and mp_set_ulong to the public API. 2000-09-28 22:53:45 +00:00
thayes%netscape.com
ef6267b6b6 Bugzilla 39476: Copy the argument string in the OpenDBFilename callback function. 2000-09-28 21:36:11 +00:00
thayes%netscape.com
17d0f302c9 Use T61 String for any ASCII characters that don't meet the PrintableString
requirements in name attribute values.
2000-09-28 21:29:14 +00:00
nelsonb%netscape.com
a0326ec6ba Fix numerous bugs in CERT_GetNickName. Fix bug 45247. 2000-09-28 21:13:29 +00:00
nelsonb%netscape.com
3c037afd66 Fix bug 39482. Don't use varargs when first argument is null. 2000-09-28 19:01:14 +00:00
relyea%netscape.com
448fea8c67 Add function for determining if we have root cert modules.
fix bug in internal root cert modules.
2000-09-28 17:40:48 +00:00
nelsonb%netscape.com
0bd851314f Fix crash when PR_Connect times out. 2000-09-28 01:50:15 +00:00
mcgreer%netscape.com
e7f1eaafcb shell script to run self-tests on ciphers supported by NSS. 2000-09-27 23:04:01 +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
wtc%netscape.com
4ad20ee457 Use '$(INSTALL) -m 444' to install files in nss/lib/crypto. By default
INSTALL is $(NSINSTALL) -R on Unix, which creates relative-path symlinks.
2000-09-27 05:49:43 +00:00
sonmi%netscape.com
8e28c8d938 added SHLIB_PATH and LIBPATH for HPUX and AIX 2000-09-26 18:47:15 +00:00
thayes%netscape.com
09d2e90f77 Add UTF8String handling to Name attributes. 2000-09-25 21:13:24 +00:00
relyea%netscape.com
873b6962ae Fix problem where RSA op failures cause multiple retries of the RSA algorithm. 2000-09-23 00:05:27 +00:00
relyea%netscape.com
0923b0a330 Move the header files. 2000-09-23 00:04:34 +00:00
relyea%netscape.com
d630dde968 Use the new NSS_NoDB_init. 2000-09-23 00:00:05 +00:00
wtc%netscape.com
b44ba3bf53 Added perl-generated files nssckpev.h nssckft.h nssckg.h nssck.api. 2000-09-22 22:52:20 +00:00
relyea%netscape.com
181cc5dcfe Add NSS_NoDB_Init() 2000-09-22 17:34:29 +00:00
relyea%netscape.com
57a810095c Check in changes to add NSS_NoDB_Init(). 2000-09-22 17:33:46 +00:00
mcgreer%netscape.com
96a66d4965 revert changes to DH param gen. MPI does compute q=2p+1 for strong primes, but returns q not p. #ifdef in rsa for testing mp_exptmod_d vs. mp_exptmod, mp_exptmod is considerably faster. 2000-09-22 16:24:16 +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
mcgreer%netscape.com
2195f46fe1 Fix DH param gen, MPI returns Sophie-Germain prime q, then compute 2q + 1. Initial checkin of two KEA functions. 2000-09-21 23:45:24 +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
wtc%netscape.com
facdc275d3 Bugzilla bug #53204: import NSPR 4.0.1 on Windows NT and 4.0 on all other
platforms.
Modified files: manifest.mn, Makefile
2000-09-19 17:49:54 +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
mcgreer%netscape.com
7d42df7e4b don't set modulus octets until good primes are generated. 2000-09-19 06:18:04 +00:00
wtc%netscape.com
0ccd4053f0 Bugzilla bug #52404: FreeBSD doesn't have cuserid() either. Thanks to
Thomas Stromberg <tstromberg@rtci.com> for the bug report.
2000-09-19 06:05:28 +00:00
mcgreer%netscape.com
d5a2efabb1 don't set prime data until good primes are generated. 2000-09-19 06:03:52 +00:00
wtc%netscape.com
38d9732ab3 Bugzilla bug #52399: handle FreeBSD. Thanks to Thomas Stromberg
<tstromberg@rtci.com> for the bug report.
2000-09-19 04:11:53 +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
nelsonb%netscape.com
3255d3af0e Fix a UMR, one of many where the SECItem type field was uninitialized.
bug 39483.  Also, eliminate a warning about calling an undeclared function
by including the header file.
2000-09-18 23:53:18 +00:00
nelsonb%netscape.com
574fcbedd2 Fix bug 52396. Don't compile case ENOSR on platforms that don't have it. 2000-09-18 19:53:59 +00:00
mcgreer%netscape.com
c620564ee8 just some general cleanup 2000-09-16 15:56:06 +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
ecca081d39 Fix stupid shell typo so that *ALL* the testcases will pass.
bob
2000-09-15 22:08:57 +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
eb48ab5115 signed data certs may not be set when this is called, so get certs from db. 2000-09-15 20:23:26 +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
mcgreer%netscape.com
8c240e3bc8 Added function NSS_CMSSignedData_VerifyCertsOnly to API 2000-09-15 06:38:33 +00:00
wtc%netscape.com
53ade5cc44 Increase the sleep interval from 10 to 20. 2000-09-15 00:43:36 +00:00
relyea%netscape.com
f0e4984d36 Fix authentication tests so they work for both unix and NT. 2000-09-14 21:59:04 +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
nelsonb%netscape.com
4df4541965 Remove duplicate PORT_Free call. Fix bug 52633. 2000-09-14 20:25:26 +00:00
mcgreer%netscape.com
39a4425f6e fix bug where certlist was being freed after being set. 2000-09-14 17:14:44 +00:00
mcgreer%netscape.com
5aae82f29f even better fix to zero signer info issue 2000-09-14 00:33:28 +00:00
nelsonb%netscape.com
082f53f177 Eliminate extraneous "oop!" output at end of script on some platforms. 2000-09-14 00:32:24 +00:00
nelsonb%netscape.com
c4fe227bb9 Changes to make mpi use 64-bit digits on machines where unsigned longs
are 64-bits.  Renamed s_mp_invmod_32b to s_mp_invmod_radix since radix
can now exceed 32 bits.  Improved performance on all platforms except
MIPS and X86.
2000-09-14 00:31:01 +00:00
mcgreer%netscape.com
2364429bbd another instance of potentially null signerInfos being referenced 2000-09-13 22:44:28 +00:00
relyea%netscape.com
832fb5cd65 Get the pid from Selfserv itself rather than from the Shell. works around a nasty mks bug in NT. 2000-09-13 21:59:26 +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
relyea%netscape.com
ebe4aefce6 Fix IDG build breakage on AIX (remove cast). 2000-09-13 21:15:07 +00:00
wtc%netscape.com
59aeefaf0d Get OBJDIR_NAME and OS_ARCH from the makefile as opposed to the arch.sh
script.  arch.sh should be cvs removed when we are sure about this change.
Checkin on behalf of Sonja Mirtitsch <sonmi@netscape.com>.
Modified file: init.sh
Added file: Makefile
2000-09-13 19:19:05 +00:00
mcgreer%netscape.com
bdcc2c1a39 fix incorrect buffer zero 2000-09-13 18:44:11 +00:00
mcgreer%netscape.com
4299bcbb86 fix change I made last night 2000-09-13 18:13:17 +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
mcgreer%netscape.com
3e3eee6676 attempt to fix bug 51882 (sig data w/ no signer infos) 2000-09-13 06:15:13 +00:00
relyea%netscape.com
610034d01d Fix double equal error in if statement 2000-09-13 00:21:17 +00:00
jgmyers%netscape.com
3d68e7a779 failure to save cx->i and cx->j caused second arcfour encrypt/decrypt to return garbage: bug 52192 r=mcgreer 2000-09-12 23:02:24 +00:00
mcgreer%netscape.com
4d941adcb4 leading zero problems fixed; thanks to nelsonb for pointing out that I needed mp_to_fixlen_octets 2000-09-12 20:32:43 +00:00
relyea%netscape.com
c48b4d878a pick up changes from NSS 2.8.3. Most of these changes include the changes
Nelson made in rev 1.9 and 1.10. It also include some changes that remove
inappropriate templace valuse (CKA_VALUE_LEN) in some cases. Our internal
token tolerates these values, but most tokens rightly reject requests with
these.
2000-09-12 20:29:23 +00:00
jgmyers%netscape.com
51e59fccb4 support IPv6 in ssl: bug 48657 r=nelsonb 2000-09-12 20:15:44 +00:00
nelsonb%netscape.com
71f913281c Set the CKA_VALUE attribute in pk11_ImportSymKeyWithTempl().
This is a better solution to bug 52306, because it fixes the behavior of
all the functions that unwrap and/or import sym keys.
2000-09-12 19:44:56 +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
nelsonb%netscape.com
cac7876f1e Fix two bugs in mp_invmod: a) returned wrong result if output var is also
one of the input vars, b) sometimes returned negative answer. Added a test
case to mpi-test.c with a value that previously produced a negative answer.
2000-09-12 00:41:09 +00:00
wtc%netscape.com
d6335b8f1d Checked in Perl-generated file certdata.c. 2000-09-11 23:34:42 +00:00
relyea%netscape.com
a4e1bb6ae3 nssTracker functions should only be defined in debug builds 2000-09-11 23:27:56 +00:00
nelsonb%netscape.com
ed8cacc2c9 Stop using "reserved" fields of PRIOMethods by name. Fixes bug 52092. 2000-09-11 22:37:12 +00:00
wtc%netscape.com
7774189fb3 Bugzilla bug #52187: modified ckapi.perl to read its input from the
first command-line argument as opposed to stdin.  Checkin on behalf
of sonmi@netscape.com.
Modified files: Makefile, ckapi.perl
2000-09-11 22:37:01 +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
mcgreer%netscape.com
527ef9f038 initial checkin of Diffie-Hellman implementation 2000-09-11 17:11:50 +00:00
wtc%netscape.com
224864f47f Added the moz_import rule for the Windows build. 2000-09-11 15:00:22 +00:00
wtc%netscape.com
9b74802076 Added makefile.win as the interface to Mozilla Client's Win32 build
system.
2000-09-11 04:38:09 +00:00
wtc%netscape.com
9aeb25aa0d Changed the PR_GetError() call to PORT_GetError() because we use
PORT_SetError() to set error codes.
Modified files: dsa.c, rsa.c
2000-09-11 04:17:02 +00:00
nelsonb%netscape.com
cf6c8ac766 Fix a bug in pk11_HandUnwrap that made it always fail because it was not
setting the CKA_VALUE attribute.  Also, fix two places that called
PK11_MapError(crv) unnecessarily and with improper crv values.
2000-09-11 01:37:36 +00:00
nelsonb%netscape.com
d856a6e4f8 Create a new function, CERT_DupCertList(), and call it instead of calling
CERT_CertChainFromCert in ssl_DupSocket().  This is MUCH faster.  This is
the first approximation of the right fix.  The next step is to consider
doing ref counting instead of actual duplication.  Fixes bug 51425 .
2000-09-09 06:08:46 +00:00
nelsonb%netscape.com
1eac835d58 Change order of includes so this will build on NT. 2000-09-09 03:41:11 +00:00
nelsonb%netscape.com
32c1d386a9 Change order of includes, so this will build on NT. 2000-09-09 03:19:35 +00:00
wtc%netscape.com
8a2b495434 Bugzilla bug #48248: removed an extraneous declaration of putenv(). Thanks
to Steven T. Hatton <hattons@bellatlantic.net> for reporting the bug.
2000-09-09 02:25:18 +00:00
relyea%netscape.com
fb7884944f Sigh... let's compile this puppy before I check it in.... 2000-09-08 23:08:49 +00:00
relyea%netscape.com
1b9a8440af Fix Startup crash found by CPD on linux. (use the correct slot function). 2000-09-08 23:00:04 +00:00
relyea%netscape.com
9bab38e513 Fix bug where cached keys were keeping around dead sessions. 2000-09-08 22:59:06 +00:00
mcgreer%netscape.com
d236df63ea fix bugs where some nss code expects leading 0's (once used for signs). allows pkcs11 pairwise consistency check to operate correctly. 2000-09-08 22:41:51 +00:00
wtc%netscape.com
d57dc8ee4e gcc does not recognize the -xchip=ultra2 option on Solaris/Sparc. 2000-09-08 01:05:23 +00:00
wtc%netscape.com
80c2512cf4 Fixed the relative paths in the symlinks created by the moz_import target. 2000-09-08 00:52:35 +00:00
mcgreer%netscape.com
3e85ae179d make compare_key do something (even if it will go away soon) 2000-09-07 23:18:40 +00:00
nelsonb%netscape.com
6547254b53 If an application calls SSL_SetURL on an NSPR FD that has NOT had SSL
"imported" into it, SSL_SetURL will crash.  This change fixes that.
2000-09-07 19:01:48 +00:00
mcgreer%netscape.com
4135f08e8f first draft of rsa CRT decryption 2000-09-07 16:29:23 +00:00