1146 Commits

Author SHA1 Message Date
nelson%bolyard.com
66ee9b948c Bug 294537: ssltap should display ASCII CA names from cert request message
r=alexei.volkov


git-svn-id: svn://10.0.0.236/trunk@195337 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 04:58:45 +00:00
nelson%bolyard.com
18f5691bc8 Display TLS hello extensions and alerts. Display ECC cipher suites.
Bug 333600 and bug 334314. r=Alexei.Volkov


git-svn-id: svn://10.0.0.236/trunk@195240 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 06:11:41 +00:00
julien.pierre.bugs%sun.com
dc8c3e567a Fix red tree on Windows.
git-svn-id: svn://10.0.0.236/trunk@195145 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 05:19:47 +00:00
julien.pierre.bugs%sun.com
4a2a325570 Fix for bug 331413 . replace signal with sigaction; fix logging. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@195136 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-22 01:28:14 +00:00
rrelyea%redhat.com
e559b7bb4f Performance tests for ec curves. Test's freebl and pkcs11 interfaces.
git-svn-id: svn://10.0.0.236/trunk@195021 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 01:40:48 +00:00
wtchang%redhat.com
377e2c4373 Bugzilla bug 334683: removed extraneous semicolons. r=alexei.volkov.
Modified files: cmd/certutil/certutil.c lib/pki/pkistore.h


git-svn-id: svn://10.0.0.236/trunk@194687 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 19:04:23 +00:00
julien.pierre.bugs%sun.com
be59ac6228 Fix for bug 331413. Don't set SO_LINGER in the Win95 build to workaround NSPR bug 332348. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@194640 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 22:57:10 +00:00
nelson%bolyard.com
4b89440f12 Don't add 3 to the user-supplied number of validity months. Bug 333679.
r=neil.williams


git-svn-id: svn://10.0.0.236/trunk@194443 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 01:00:11 +00:00
nelson%bolyard.com
fc11ad1fed Add and use new -2 option for strsclnt to disable SSL2 compatible client
hellos, so we can stress test TLS hello extensions.  Bug 333559.
r=julien.pierre,rrelyea


git-svn-id: svn://10.0.0.236/trunk@194355 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 22:43:31 +00:00
julien.pierre.bugs%sun.com
dec84162f8 Fix for 333657 . Increase maximum RSA key size to 8192 bits in freebl. r=nelson
git-svn-id: svn://10.0.0.236/trunk@194210 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 05:39:01 +00:00
wtchang%redhat.com
9712c7f7a4 Bugzilla Bug 331413: assert that the worker threads empty the jobQ before
they terminate.  Fix a socket leak when the SSL_ImportFD call in
handle_connection fails. r=nelson.bolyard.


git-svn-id: svn://10.0.0.236/trunk@194175 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 21:12:28 +00:00
julien.pierre.bugs%sun.com
28b2ef9bc1 Fix for bug 315793 . Make shlibsign run in the OBJDIR rather than the source directory . r=nelson
git-svn-id: svn://10.0.0.236/trunk@193671 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 06:22:02 +00:00
julien.pierre.bugs%sun.com
36605e59fd Partial fix for bug 332348 . Add PR_POLL_EXCEPT to a PR_Poll . Allows tstclnt to wake up if server goes away. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@193648 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-06 01:49:03 +00:00
nelson%bolyard.com
f17f17ddf5 Add new -i (ignore errors) command line option to strsclnt. Strsclnt now
stops soon after the first error unless the -i option is given.
Strsclnt and tstclnt now look for an environment variable named
NSS_DEBUG_TIMEOUT, and if present, its value is used as a timeout time
for all socket IO operations.  Bug 332348. r=julien.pierre.


git-svn-id: svn://10.0.0.236/trunk@193485 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 07:31:46 +00:00
nelson%bolyard.com
75c86f6174 Eliminate duplicated header files in cmd/SSLsample. Bug 332633.
r=julien.pierre
Modified Files: SSLsample/client.mn SSLsample/server.mn lib/manifest.mn
Removed Files:  SSLsample/NSPRerrs.h SSLsample/SECerrs.h SSLsample/SSLerrs.h


git-svn-id: svn://10.0.0.236/trunk@193477 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 01:56:27 +00:00
nelson%bolyard.com
cfbcd913d7 Define alerts and error codes for TLS Hello extensions. Bug 226271.
r=julien.pierre


git-svn-id: svn://10.0.0.236/trunk@193468 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-04 00:32:27 +00:00
julien.pierre.bugs%sun.com
8cc0246541 Fix for 330068 . Be more verbose in strsclnt error cases
git-svn-id: svn://10.0.0.236/trunk@193225 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 22:36:42 +00:00
julien.pierre.bugs%sun.com
1ce5b33bc5 Fix for bug 330068 . Increment counter variable atomically. Be more verbose. r=nelson
git-svn-id: svn://10.0.0.236/trunk@193177 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 05:05:09 +00:00
julien.pierre.bugs%sun.com
5fb22dc7fe Partial fix for bug 331413 . Allow selfserv to be tested for reference leaks. r=nelson
git-svn-id: svn://10.0.0.236/trunk@193176 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 05:03:10 +00:00
glen.beasley%sun.com
fe61b990c6 318970 wtc fix for RSA fipstest using RSA_HashSign r=neilW sr= brelyea
git-svn-id: svn://10.0.0.236/trunk@193000 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-25 23:48:07 +00:00
nelson%bolyard.com
4a76b12e4a Bug 326690. Enable modutil to configure default slots for the
AES, SHA256 or SHA512 mechanisms.  r=rrelyea,julien.pierre


git-svn-id: svn://10.0.0.236/trunk@191365 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-28 05:16:00 +00:00
wtchang%redhat.com
5ee099ec32 Bugzilla Bug 328228: fixed the typo "secp169k1". The patch is contributed
by jyri <jyri.virkki@sun.com>. r=wtc,vipul.gupta.
Modified files: bltest/blapitest.c certutil/certutil.c


git-svn-id: svn://10.0.0.236/trunk@190895 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 22:15:57 +00:00
wtchang%redhat.com
99d5e184bb Renamed DSA_TEST_SEED_BYTES to PQG_TEST_SEED_BYTES.
git-svn-id: svn://10.0.0.236/trunk@190480 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-18 02:39:12 +00:00
glen.beasley%sun.com
e135c4be16 fix by wan-teh for RSA siggen tests r=glen
git-svn-id: svn://10.0.0.236/trunk@190191 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 01:52:51 +00:00
wtchang%redhat.com
3fce3ffa2d Bugzilla Bug 318967: use 160-bit SEED when generating DSA domain parameters
(PQG).  Removed unused keySizeIndex variables. Handle the return value and
result output parameter of PQG_VerifyParams separately. Pad H with leading
0's when printing. r=glen.beasley.


git-svn-id: svn://10.0.0.236/trunk@190188 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 01:28:35 +00:00
wtchang%redhat.com
4c3f242d31 Bugzilla Bug 318962: fixed signed/unsigned comparison warnings by MSVC.
r=glen.beasley.


git-svn-id: svn://10.0.0.236/trunk@190133 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 19:14:09 +00:00
wtchang%redhat.com
c4308dad4e Bugzilla Bug 318968: more ECDSA test cleanup. Do not zeroize when freezing
ECParams' arenas.  Use EC_CopyParams to copy ECParams to an EC public key
and allocate the public key's value from the same arena. r=glen.beasley.


git-svn-id: svn://10.0.0.236/trunk@190130 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-15 19:06:51 +00:00
glen.beasley%sun.com
dd9953c212 318970 RSA sigver test fix r=wan-teh
git-svn-id: svn://10.0.0.236/trunk@189726 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-10 23:27:38 +00:00
neil.williams%sun.com
7a3a63def1 Bug #325682, Adds -Wl,-rpath to link step for Linux distributions
r=Nelson, sr=Wan-Teh


git-svn-id: svn://10.0.0.236/trunk@189445 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-09 00:12:17 +00:00
rrelyea%redhat.com
0a3bb0e619 Bug 320583 Support for SHA256/384/512 with ECC signing
git-svn-id: svn://10.0.0.236/trunk@189396 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 06:14:31 +00:00
wtchang%redhat.com
f24939aa0a Bugzilla Bug 318967: fixed compiler warnings, most of which were char *
and unsigned char * mismatches. r=glen.beasley.


git-svn-id: svn://10.0.0.236/trunk@188916 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-04 06:39:44 +00:00
neil.williams%sun.com
564d2724b7 bug 245518 r=nelson, fix for p12 files encoded with null PWs
git-svn-id: svn://10.0.0.236/trunk@188775 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 20:26:03 +00:00
alexei.volkov.bugs%sun.com
f2211c150e [Bug 325307] infinite loop in SECU_FindCrlIssuer. r=julien
git-svn-id: svn://10.0.0.236/trunk@188734 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 02:45:02 +00:00
alexei.volkov.bugs%sun.com
771006f903 [Bug 324878] crlutil -L outputs false CRL names. r=julien
git-svn-id: svn://10.0.0.236/trunk@188732 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 02:35:07 +00:00
wtchang%redhat.com
1d637966c0 Bugzilla Bug 318966: implemented the tests for the NIST RNG Validation
System.  r=glen.beasley.
Modified file: fipstest.c
Added file: rng.sh


git-svn-id: svn://10.0.0.236/trunk@188699 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 21:28:25 +00:00
glen.beasley%sun.com
4c7d34eaf8 318970 RSA FIPS tests r=wan-teh sr=bobRelyea
git-svn-id: svn://10.0.0.236/trunk@188528 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 00:52:13 +00:00
glen.beasley%sun.com
35f65fcd5f 318970 RSA FIPS tests r=wan-teh sr=bobRelyea
git-svn-id: svn://10.0.0.236/trunk@188527 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 00:49:02 +00:00
nelsonb%netscape.com
4e73e3abe9 Fix broken build, caused by c++ style comment in c code.
git-svn-id: svn://10.0.0.236/trunk@188383 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 02:38:07 +00:00
glen.beasley%sun.com
860e7e5f8e 328967 DSA FIPS tests r=Wan-Teh
git-svn-id: svn://10.0.0.236/trunk@188355 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 18:53:07 +00:00
nelsonb%netscape.com
c2795a63dc Make dbck Debug mode work with Softoken. Bug 323570. r=rrelyea.
git-svn-id: svn://10.0.0.236/trunk@187998 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-22 06:54:34 +00:00
julien.pierre.bugs%sun.com
f7dec9cf20 Fix for bug 317856 . uninitialized variable correction. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@187923 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 22:55:35 +00:00
julien.pierre.bugs%sun.com
f6b94accfe Fix for bug 317856 . compiler warnings in strsclnt
git-svn-id: svn://10.0.0.236/trunk@187862 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 00:43:23 +00:00
nelsonb%netscape.com
fce260a827 Back out last change, which broke the build.
git-svn-id: svn://10.0.0.236/trunk@187808 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 02:34:12 +00:00
julien.pierre.bugs%sun.com
59eb9be554 Fix for bug 319495 . Clean up Makefiles for command-line tools. r=nelson
git-svn-id: svn://10.0.0.236/trunk@187780 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-18 22:44:39 +00:00
wtchang%redhat.com
d1780f18bc Bugzilla Bug 323379: need to set ADDON_PATH for libsoftokn3.so to load
libfreebl3.so as an add-on on BeOS.  Thanks to Doug Shelton
<doug@sheltonfamily.org>for reporting the bug and verifying the fix.
r=christophe.ravel.


git-svn-id: svn://10.0.0.236/trunk@187768 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-18 20:56:28 +00:00
wtchang%redhat.com
19208f3ffa Bugzilla Bug 318968: fixed the build error with NSS_ENABLE_ECC unset.
Modified files: Makefile fipstest.c


git-svn-id: svn://10.0.0.236/trunk@187024 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 21:49:05 +00:00
julien.pierre.bugs%sun.com
03e5be5d07 Fix the build busted by checkin for bug 318968
git-svn-id: svn://10.0.0.236/trunk@186513 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-23 03:15:58 +00:00
wtchang%redhat.com
1626f81291 Bugzilla Bug 318968: added FIPS ECDSA algorithm test. r=glen.beasley.
Modified file: fipstest.c
Added file: ecdsa.sh


git-svn-id: svn://10.0.0.236/trunk@186457 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-22 22:22:17 +00:00
wtchang%redhat.com
11aa05109c Bugzilla Bug 318962: combined a PORT_Realloc and a memset call into an
equivalent PORT_ZAlloc call.  r=glen.beasley.


git-svn-id: svn://10.0.0.236/trunk@186454 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-22 22:19:03 +00:00
wtchang%redhat.com
5c0e8ea84c Bugzilla bug 318962: it is legal for PORT_Realloc(oldptr, 0) to return
NULL, so that shouldn't be treated as a memory allocation failure.


git-svn-id: svn://10.0.0.236/trunk@186392 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-22 01:39:17 +00:00