85 Commits

Author SHA1 Message Date
julien.pierre.boogz%sun.com
2f0d933156 Fix for bug 330721 . Remove OS/2 VACPP compiler support from NSS . Patch contributed by Peter Weilbacher . r=julien.pierre
git-svn-id: svn://10.0.0.236/trunk@235515 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-11 22:40:40 +00:00
nelson%bolyard.com
89a46dedcd Back out last change, since it introduced failures on all platforms but Linux.
git-svn-id: svn://10.0.0.236/trunk@235488 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-11 10:22:02 +00:00
nelson%bolyard.com
44d31c53a8 Bug 388117: ssl.sh hangs or fails on Windows when IPv6 is enabled, r=wtc
This is an experiement, and will be backed out if it causes huge failures.


git-svn-id: svn://10.0.0.236/trunk@235486 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-11 04:43:31 +00:00
neil.williams%sun.com
f4f094b47f Bug 325672, Create CanBypass function
r=Nelson


git-svn-id: svn://10.0.0.236/trunk@230235 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:38:55 +00:00
julien.pierre.bugs%sun.com
e788d02661 Fix for bug 228190 . Remove unnecessary NSS_ENABLE_ECC declarations . r=nelson
git-svn-id: svn://10.0.0.236/trunk@229789 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 04:39:19 +00:00
alexei.volkov.bugs%sun.com
552caf5dfc 366557 - Small memory leaks in selfserv. fix for selfserv crash. r=nelson
git-svn-id: svn://10.0.0.236/trunk@221894 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 20:22:22 +00:00
alexei.volkov.bugs%sun.com
08155c3d99 366557 - Small memory leaks in selfserv. r=nelson
git-svn-id: svn://10.0.0.236/trunk@221783 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-12 17:29:59 +00:00
rrelyea%redhat.com
f1f37e1100 Bug 335748 ECC support for mozilla.
r=wtc


git-svn-id: svn://10.0.0.236/trunk@200693 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 16:57:43 +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
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
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
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
wtchang%redhat.com
67e2b4967d Bugzilla Bug 236245: Updated NSS to "ECC Cipher Suites for TLS" draft 12
plus upcoming revisions.  The patch is contributed by Douglas Stebila
of Sun Labs <douglas@stebila.ca>. r=wtc.
Modified Files:
	cmd/selfserv/selfserv.c cmd/strsclnt/strsclnt.c
	cmd/tstclnt/tstclnt.c cmd/vfyserv/vfyserv.c lib/ssl/ssl3con.c
	lib/ssl/ssl3ecc.c lib/ssl/ssl3prot.h lib/ssl/sslenum.c
	lib/ssl/sslimpl.h lib/ssl/sslinfo.c lib/ssl/sslproto.h
	lib/ssl/sslsock.c tests/ssl/ecssl.sh tests/ssl/ecsslauth.txt
	tests/ssl/ecsslcov.txt tests/ssl/ecsslstress.txt
	tests/ssl/ssl.sh


git-svn-id: svn://10.0.0.236/trunk@186032 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-14 01:49:40 +00:00
julien.pierre.bugs%sun.com
b9f2fa2e88 Fix for bug 292156. Add -C SSLCacheEntries option to selfserv. r=nelson
git-svn-id: svn://10.0.0.236/trunk@184445 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 02:44:56 +00:00
julien.pierre.bugs%sun.com
cd9e48019f Remove dead files. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@184121 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 00:48:41 +00:00
saul.edwards%sun.com
e805f1cb78 Bug 305147: add -B (bypass SSL) and -s (disable SSL locking) to server and client commands; add bypass testing to SSL test suite.
git-svn-id: svn://10.0.0.236/trunk@179894 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 04:50:07 +00:00
nelsonb%netscape.com
00749853c3 Remove fortezza code from libSSL and from the SSL test programs.
Stop building fortezza's special software token, and fortezza specific
test programs.   Bug 239960. r=rrelyea.
Modified Files:
    cmd/manifest.mn cmd/platlibs.mk cmd/SSLsample/server.c
    cmd/SSLsample/sslsample.c cmd/modutil/modutil.c
    cmd/selfserv/selfserv.c cmd/sslstrength/sslstrength.c
    cmd/strsclnt/strsclnt.c cmd/tstclnt/tstclnt.c
    cmd/vfyserv/vfyserv.c cmd/vfyserv/vfyutil.c lib/manifest.mn
    lib/ssl/nsskea.c lib/ssl/preenc.h lib/ssl/prelib.c
    lib/ssl/ssl.h lib/ssl/ssl3con.c lib/ssl/ssl3prot.h
    lib/ssl/sslauth.c lib/ssl/sslcon.c lib/ssl/sslenum.c
    lib/ssl/sslimpl.h lib/ssl/sslinfo.c lib/ssl/sslproto.h
    lib/ssl/sslsecur.c lib/ssl/sslsnce.c lib/ssl/sslsock.c
    lib/ssl/sslt.h


git-svn-id: svn://10.0.0.236/trunk@177810 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 03:42:26 +00:00
nelsonb%netscape.com
663db84c36 Back out the preceeding fortezza removal patch, which was accidentally
applied to the trunk, not to the intended branch.


git-svn-id: svn://10.0.0.236/trunk@171823 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 21:35:45 +00:00
nelsonb%netscape.com
b62572db42 Remove fortezza support from libSSL and related commands. Bug 239960.
ON PERFORMANCE_HACKS_BRANCH.  r=rrelyea.


git-svn-id: svn://10.0.0.236/trunk@171820 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 19:43:19 +00:00
nelsonb%netscape.com
b0abb47e6c Add new -E option to test the SSL_NO_STEPDOWN option. r=julien. bug 148452.
git-svn-id: svn://10.0.0.236/trunk@171575 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 17:42:24 +00:00
alexei.volkov.bugs%sun.com
93dc3b2bbe fix for bug 265003: selfserv.c: allow selfserv to load crls. R=julien
git-svn-id: svn://10.0.0.236/trunk@171484 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 02:29:24 +00:00
julien.pierre.bugs%sun.com
38aec7b04b Fix for bug 283761 - use of memset in selfserv is inefficient. r=nelson
git-svn-id: svn://10.0.0.236/trunk@169886 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-26 04:57:32 +00:00
julien.pierre.bugs%sun.com
4f45c707d5 Check for NULL PRFileDesc before closing them . r=saul,nelson
git-svn-id: svn://10.0.0.236/trunk@166378 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-07 06:25:34 +00:00
julien.pierre.bugs%sun.com
7cb5f3a5c9 Fix for 266940 . increase MAX_THREADS in selfserv
git-svn-id: svn://10.0.0.236/trunk@164683 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-31 00:22:56 +00:00
jpierre%netscape.com
7c5876a082 Fix for 249310 - add option to disable SSL2 in selfserv . r=nelson
git-svn-id: svn://10.0.0.236/trunk@158625 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-01 02:06:31 +00:00
gerv%gerv.net
43cb9e1492 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
jpierre%netscape.com
99e3f5467a Fix for bug 143456 - add -P option for dbprefix to selfserv . r=MisterSSL
git-svn-id: svn://10.0.0.236/trunk@153806 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 02:47:13 +00:00
wchang0222%aol.com
7f3eb1098d Bugzilla bug 225373: the return value of CERT_NameToAscii must be freed
with PORT_Free.
Modified Files:
	cmd/lib/secutil.c cmd/selfserv/selfserv.c
	cmd/signver/pk7print.c cmd/strsclnt/strsclnt.c
	cmd/tstclnt/tstclnt.c lib/certdb/cert.h


git-svn-id: svn://10.0.0.236/trunk@149241 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-13 16:10:45 +00:00
nelsonb%netscape.com
2800334777 Add new -N option, which completely suppresses the initialization and use
of the SSL server session ID cache.  Used to test the fix for bug 222726.


git-svn-id: svn://10.0.0.236/trunk@148121 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-19 05:18:11 +00:00
ian.mcgreer%sun.com
decc84df49 ECC code landing.
Contributed by Sheuling Chang, Stephen Fung, Vipul Gupta, Nils Gura,
and Douglas Stebila of Sun Labs


git-svn-id: svn://10.0.0.236/trunk@148060 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 13:45:42 +00:00
kirk.erickson%sun.com
9f693ee885 Resolves bug 206971 - selfserv should OptimizeSpeed (use NSS_Initialize).
Both selfserv and strsclnt no longer OptimizeSpace.  Moved SECMOD_DB
defines from nssinit.c to nss.h, make it availble for public use with
NSS_Initialize().


git-svn-id: svn://10.0.0.236/trunk@143104 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-30 17:25:13 +00:00
wtc%netscape.com
ede99124e6 Bug 199082: checked in Nelson's patch, which
a) changes selfserv to test the return value from NSS_Shutdown.
b) changes SECMOD_Shutdown to set the error code SEC_ERROR_BUSY before
   returning SECFailure.
c) Adds a new function SSL_ShutdownServerSessionIDCache to ssl.h.
d) Changes selfserv to call SSL_ShutdownServerSessionIDCache before calling
NSS_Shutdown.
Modified Files:
	cmd/selfserv/selfserv.c lib/pk11wrap/pk11util.c
	lib/ssl/ssl.def lib/ssl/ssl.h lib/ssl/ssl3con.c
	lib/ssl/sslimpl.h lib/ssl/sslsnce.c


git-svn-id: svn://10.0.0.236/trunk@140305 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 00:31:13 +00:00
kirk.erickson%sun.com
20e3ae1f8b Made 'seconds' argument to '-L' optional.
Updated Usage with '-L [seconds]' syntax, and default value (30).


git-svn-id: svn://10.0.0.236/trunk@139308 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 02:40:43 +00:00
nelsonb%netscape.com
db2f1140de Add support for Elliptic Curve Cryptography. Bug 195135.
Modified Files:
 	cmd/lib/SECerrs.h cmd/selfserv/selfserv.c
 	cmd/tstclnt/tstclnt.c lib/cryptohi/keyhi.h
 	lib/cryptohi/keythi.h lib/cryptohi/seckey.c
 	lib/cryptohi/secvfy.c lib/freebl/Makefile lib/freebl/blapi.h
 	lib/freebl/blapit.h lib/freebl/ldvector.c lib/freebl/loader.c
 	lib/freebl/loader.h lib/freebl/manifest.mn lib/nss/nss.def
 	lib/pk11wrap/pk11skey.c lib/pk11wrap/pk11slot.c
 	lib/softoken/lowkeyti.h lib/softoken/manifest.mn
 	lib/softoken/pkcs11.c lib/softoken/pkcs11c.c
 	lib/softoken/pkcs11t.h lib/ssl/ssl3con.c lib/ssl/ssl3prot.h
 	lib/ssl/sslcon.c lib/ssl/sslenum.c lib/ssl/sslimpl.h
 	lib/ssl/sslinfo.c lib/ssl/sslproto.h lib/ssl/sslsecur.c
 	lib/ssl/sslsock.c lib/ssl/sslt.h lib/util/secerr.h
 	lib/util/secoid.c lib/util/secoidt.h
Added Files:
 	lib/freebl/GFp_ecl.c lib/freebl/GFp_ecl.h lib/freebl/ec.c
 	lib/freebl/ec.h lib/softoken/ecdecode.c


git-svn-id: svn://10.0.0.236/trunk@138574 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 01:31:38 +00:00
nelsonb%netscape.com
80c4c4369b Make selfserv build for Darwin.
git-svn-id: svn://10.0.0.236/trunk@133861 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 23:33:24 +00:00
wtc%netscape.com
2f4c366a9f Removed the SIGTERM signal handler, which was added to debug bug 119340.
git-svn-id: svn://10.0.0.236/trunk@129499 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 05:10:59 +00:00
wtc%netscape.com
a9ba0466f5 Bug 129701: removed the sleep command for Linux in kill_selfserv().
Instead, we try to bind to the port in a loop until the port has been
freed.  Added the -b (bindOnly) option to selfserv for this purpose.
Modified files: cmd/selfserv/selfserv.c tests/common/init.sh tests/ssl/ssl.sh


git-svn-id: svn://10.0.0.236/trunk@129045 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 13:41:21 +00:00
nicolson%netscape.com
4b34ca8158 Fix 164126: makefile build error.
Change the NSS module name from "security" to "nss".


git-svn-id: svn://10.0.0.236/trunk@128961 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 16:38:56 +00:00
nelsonb%netscape.com
ff70ef4a64 Add support for SSL_RSA_WITH_NULL_SHA. Bug 161529. Fix usage message.
git-svn-id: svn://10.0.0.236/trunk@126907 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 21:58:28 +00:00
nelsonb%netscape.com
4d292871d6 Fix Usage message. Add missing \n to string.
git-svn-id: svn://10.0.0.236/trunk@115547 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 01:53:07 +00:00
wtc%netscape.com
68e3ff3855 Bugzilla bug 125790: free the nickName and passwd strings
git-svn-id: svn://10.0.0.236/trunk@114607 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-15 21:53:25 +00:00
wtc%netscape.com
bab3530e7f Bugzilla bug 119340: write the "selfserv: received SIGTERM" message to
standard output (fd 1) instead of standard error (fd 2) because the test
script writes its output to standard output (with the echo command).


git-svn-id: svn://10.0.0.236/trunk@113735 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 01:38:06 +00:00
ian.mcgreer%sun.com
633f5faf30 bug 90518, selfserv dumps cache state before shutdown with -y option
git-svn-id: svn://10.0.0.236/trunk@113530 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 19:39:48 +00:00
wtc%netscape.com
6cba3e1cfe Bugzilla bug 119340: install a SIGTERM handler on Linux for debugging.
git-svn-id: svn://10.0.0.236/trunk@113403 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 05:57:49 +00:00
wtc%netscape.com
52cd995d98 Bugzilla bug 119340: backed out the fix. We are still seeing the
"selfserv process not detectable" errors on Linux and I don't have
time to get to the bottom of it.
Modified files:
	cmd/selfserv/selfserv.c tests/common/init.sh tests/ssl/ssl.sh


git-svn-id: svn://10.0.0.236/trunk@113271 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 02:03:57 +00:00
wtc%netscape.com
6fd02510af Bugzilla bug 119340: an inelegant but more reliable way to kill the
multithreaded 'selfserv' process on Linux.
Modified files:
    cmd/selfserv/selfserv.c tests/common/init.sh tests/ssl/ssl.sh


git-svn-id: svn://10.0.0.236/trunk@112572 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-23 03:18:57 +00:00
wtc%netscape.com
f3b808bdf3 Bugzilla bug 119340: added a debug printf statement.
git-svn-id: svn://10.0.0.236/trunk@112290 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 03:29:06 +00:00
kirk.erickson%sun.com
be41a6dbba Fixed termination when using -L 30 (see bug 107777).
This is a temporary solution, creating SYSTEM rather than USER loggerThread.
Later we should create a USER thread, Interrupt, and tell the thread to exit.


git-svn-id: svn://10.0.0.236/trunk@111907 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 01:03:28 +00:00
kirk.erickson%sun.com
b992807046 Fixes bug 107777. Added '-L <seconds>' argument (ops/sec logging).
Review by Nelson and Wan-Teh made this patch very clean.  We are
now creating a separating logger() thread.


git-svn-id: svn://10.0.0.236/trunk@109009 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 20:08:57 +00:00