4561 Commits

Author SHA1 Message Date
wchang0222%aol.com
107fc21aee Bugzilla bug 223624: declare pk11_FindAttrInTemplate before it is used.
r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@148376 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-25 14:10:11 +00:00
wchang0222%aol.com
b7e3459c22 Bugzilla bug 223624: use PR_MAX to avoid redefining MAX, a macro commonly
defined in system headers. r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@148375 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-25 14:08:31 +00:00
wchang0222%aol.com
e0cbb82e15 Bugzilla bug 223624: removed an extraneous format string for fprintf.
r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@148374 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-25 14:05:08 +00:00
wchang0222%aol.com
770b984788 Bugzilla bug 223624: node->error is a 'long', so it should match a %ld
format.  r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@148373 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-25 14:01:43 +00:00
jpierre%netscape.com
5743a7c990 Initialize crlHandle . r=wtc
git-svn-id: svn://10.0.0.236/trunk@148369 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-25 00:41:14 +00:00
nelsonb%netscape.com
f7fdb337d0 Require DES, DES2 and DES3 keys to have correct length in all cases.
Expand DES2 keys to be DES3 keys when used with DES3 mechanisms.
Bug 201521.


git-svn-id: svn://10.0.0.236/trunk@148368 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-25 00:12:34 +00:00
wchang0222%aol.com
f8f6a925ea Bugzilla bug 173715: fixed a crash in OCSP. We incorrectly assumed that
'addr' was the last IP address of the host when PR_EnumerateHostEnt
returned 0 and attempted to connect to 'addr', resulting in an assertion
failure in PR_Connect. The fix is to not use 'addr' when
PR_EnumerateHostEnt returns 0.  r=relyea.


git-svn-id: svn://10.0.0.236/trunk@148355 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 17:17:37 +00:00
wchang0222%aol.com
968ae899f4 Removed the nonexistent directory 'rngtest' from DIRS.
git-svn-id: svn://10.0.0.236/trunk@148343 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 06:22:58 +00:00
wchang0222%aol.com
3bd9e58d79 Removed nonexistent directory "crypto" from DIRS.
git-svn-id: svn://10.0.0.236/trunk@148342 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 05:29:08 +00:00
wchang0222%aol.com
4a499dd80b Bugzilla bug 223427: added a note section so that the linker knows we're
not executing off the stack.  This patch is received from Christopher
Blizzard of Red Hat <blizzard@redhat.com>.


git-svn-id: svn://10.0.0.236/trunk@148341 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-24 04:47:23 +00:00
nicolson%netscape.com
5f37bf9fe5 try forcing the bourne shell to execute the command line.
git-svn-id: svn://10.0.0.236/trunk@148327 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-23 22:01:55 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
nicolson%netscape.com
91d3c9bfb8 more debugging info.
git-svn-id: svn://10.0.0.236/trunk@148254 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 04:08:17 +00:00
wchang0222%aol.com
2aff98abf2 Bugzilla bug 222065: fixed a bug (inside #ifdef WINNT) introduced in the
previous checkin.


git-svn-id: svn://10.0.0.236/trunk@148244 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 01:00:10 +00:00
caillon%returnzero.com
c1914505cb Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst


git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
bishakhabanerjee%netscape.com
fda018ebc0 NIST PKITS tests:first checkin, without CRLS:bug 177398:six sections implemented
git-svn-id: svn://10.0.0.236/trunk@148223 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 21:35:04 +00:00
bienvenu%nventure.com
8ca5ad6258 fix 221329 add ability to add root certs from autoconfig js, r=misterSSL@aol.com, sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@148152 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-20 15:00:17 +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
nelsonb%netscape.com
8e0aca0386 Put the NSS 3.9 block back in ASCII sorting order, AGAIN.
git-svn-id: svn://10.0.0.236/trunk@148120 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-19 04:41:20 +00:00
nelsonb%netscape.com
68ca5e8448 When the SSL_NO_CACHE option is set on an SSL server socket, don't touch
the server session cache AT ALL.  Bug 222726


git-svn-id: svn://10.0.0.236/trunk@148119 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-19 01:55:50 +00:00
nelsonb%netscape.com
3e437a3d4d Declare SSL_NO_STEP_DOWN option. Partial fix to bug 148452.
git-svn-id: svn://10.0.0.236/trunk@148118 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-19 01:31:41 +00:00
nelsonb%netscape.com
701f341286 SSL_ShutdownServerSessionIDCache no longer leaks the cache memory.
Bug 222065. r=wchang0222


git-svn-id: svn://10.0.0.236/trunk@148117 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-19 01:25:10 +00:00
kairo%kairo.at
b88009d020 bug 154927 - automate localeVersion updates based on milestone.txt - we'll now create all those files during compile time from .in files, r=leaf, sr=bz
git-svn-id: svn://10.0.0.236/trunk@148108 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-18 17:54:07 +00:00
relyea%netscape.com
1a4caffe99 221067 NSS needs to be able to create token symkeys from unwrap and derive.
git-svn-id: svn://10.0.0.236/trunk@148092 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-18 00:38:04 +00:00
nelsonb%netscape.com
187cd7ce76 Detect buffer overruns caused by flawed application-supplied callbacks,
and avoid crashing due to them.  Bugscape bug 52528. r=wchang


git-svn-id: svn://10.0.0.236/trunk@148082 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 21:12:13 +00:00
relyea%netscape.com
4bbbf7ee2c Incorporate WTC's review comments..
git-svn-id: svn://10.0.0.236/trunk@148068 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 17:56:56 +00:00
ian.mcgreer%sun.com
643e7f3374 missed SSL ECC test files in last checkin
git-svn-id: svn://10.0.0.236/trunk@148062 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 14:10:18 +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
nelsonb%netscape.com
3d454f2360 Put the NSS 3.9 block in ASCII sorting order.
git-svn-id: svn://10.0.0.236/trunk@148056 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 05:45:19 +00:00
relyea%netscape.com
d93fbe9713 Bug 156770 When we do a file import and give a bad password we get wrong errors back
When we fail to decode based on a bad password, don't continue.

So once we've tried failed to decode a ANS.1 stream, don't continue collecting
more data.

On microsoft.pfx files, we would wind up decoding to the end of the encrypted
stream, then fail in the padding in PKCS #7. This code bypasses this problem by
making sure we don't continue to try to decode data once we've hit a bad
password failure.


git-svn-id: svn://10.0.0.236/trunk@148050 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-16 23:49:15 +00:00
nicolson%netscape.com
3caf903f4b More debugging information.
git-svn-id: svn://10.0.0.236/trunk@148042 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-16 22:17:00 +00:00
timeless%mozdev.org
8af9844c8a Bug 220106 @mozilla.org/security/nsCertTree;1 doesn't null check mTreeArray
r=kaie sr=bz


git-svn-id: svn://10.0.0.236/trunk@148027 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-16 15:33:56 +00:00
timeless%mozdev.org
02ebf102e0 Bug 220230 Change PSM preferences windows behaviour to be more consistent with the rest of the Preference windows
patch by borggraefe@despammed.com r=kaie sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@148026 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-16 15:26:28 +00:00
nicolson%netscape.com
f155d7db1f Try * instead of . to get zip to grab all the contents of a directory.
git-svn-id: svn://10.0.0.236/trunk@148009 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-16 03:28:19 +00:00
jpierre%netscape.com
e404142fda Fix for bug 222180 . remove redundant code
git-svn-id: svn://10.0.0.236/trunk@147978 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 01:40:10 +00:00
jpierre%netscape.com
e8edbab622 Fix for bug 222180 . Change to quick decoder . r=wtc
git-svn-id: svn://10.0.0.236/trunk@147977 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 01:34:22 +00:00
nelsonb%netscape.com
8426542fcd Eliminate redundant function declarations. Bug 208854. r=wchang0222
git-svn-id: svn://10.0.0.236/trunk@147958 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-14 17:44:33 +00:00
relyea%netscape.com
fb4ab3fab4 Fix tinderbox breakage
git-svn-id: svn://10.0.0.236/trunk@147900 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-12 22:55:09 +00:00
nicolson%netscape.com
8ae42a7206 Try to get zip working properly on the Windows build machines.
git-svn-id: svn://10.0.0.236/trunk@147898 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-12 20:21:04 +00:00
nelsonb%netscape.com
bcedd95a62 Correctly handle a NULL moduleSpecList. Bug 220217.
git-svn-id: svn://10.0.0.236/trunk@147867 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 01:49:24 +00:00
nelsonb%netscape.com
458f866ce8 This file has been dead code since NSS 3.4 released, if not sooner.
git-svn-id: svn://10.0.0.236/trunk@147866 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-11 01:10:51 +00:00
jpierre%netscape.com
e8b5b71f66 Fix for bug 221743 - incorrect certificate usage macro
git-svn-id: svn://10.0.0.236/trunk@147861 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 23:22:31 +00:00
relyea%netscape.com
9f2bc8d2a4 Bug 191467
Multipart signing and verifying broken for several mechanisms in softoken
Reporter:   	Andreas.Sterbenz@sun.com (Andreas Sterbenz)
sr=nelsonb


git-svn-id: svn://10.0.0.236/trunk@147842 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 15:32:26 +00:00
relyea%netscape.com
291f5c8248 Bug 203866
Make unloaded modules visible for administrative purposes.
sr=wtc r=nelson


git-svn-id: svn://10.0.0.236/trunk@147841 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 15:29:43 +00:00
relyea%netscape.com
ae7ce661c1 Bug 203866. Make unloaded modules visible for administrative purposes.
sr=wtc r=nelson


git-svn-id: svn://10.0.0.236/trunk@147840 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 15:26:23 +00:00
nicolson%netscape.com
13feab7e73 Change ';' to '&&' so the command fails if any of the subcommands fails.
Print out the return value of the command.
This is to debug a problem where the zip file is not being created on windows.


git-svn-id: svn://10.0.0.236/trunk@147820 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 22:39:54 +00:00
relyea%netscape.com
c8b177b43d fix bug 203450
jarevil.c:345: warning: implicit declaration of function \
  `__CERT_AddTempCertToPerm'

Obviously missing a declaration somewhere.

r=jpierr, wtc


git-svn-id: svn://10.0.0.236/trunk@147817 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 22:17:04 +00:00
jpierre%netscape.com
4012fce7ab Fix for bug 55898 - print name of certificate causing failure in certutil . r=wtc
git-svn-id: svn://10.0.0.236/trunk@147725 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-08 01:00:37 +00:00
nelsonb%netscape.com
14f2683ef1 Eliminate one of several redundant OID table lookups. Bug 207033.
git-svn-id: svn://10.0.0.236/trunk@147692 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 17:19:55 +00:00
nelsonb%netscape.com
9911b56b4d Eliminate unnecessary copying of CA names in HandleCertRequest.
Bug 204686.


git-svn-id: svn://10.0.0.236/trunk@147660 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 02:24:01 +00:00