4170 Commits

Author SHA1 Message Date
wtc%netscape.com
d918bf634c Bug 195127: added temporary debugging output.
git-svn-id: svn://10.0.0.236/trunk@139810 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 02:00:40 +00:00
wtc%netscape.com
a03ec3e9c3 Bug 58221: don't use strlen to check if a string is of length 0.
git-svn-id: svn://10.0.0.236/trunk@139753 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 06:37:03 +00:00
wtc%netscape.com
1871b254e6 Bug 58221: don't use strlen to check if a string is of length 0.
git-svn-id: svn://10.0.0.236/trunk@139752 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 06:30:12 +00:00
nicolson%netscape.com
e4167d453d Fix 198125: PK11Signature.engineUpdateNative ignores offset and length.
git-svn-id: svn://10.0.0.236/trunk@139730 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 00:57:29 +00:00
wtc%netscape.com
42332809da Bug 197890: use Cygwin's cygpath command to "escape" a pathname with a
drive letter for Cygwin's bash.


git-svn-id: svn://10.0.0.236/trunk@139672 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 14:48:09 +00:00
nelsonb%netscape.com
5cfa468651 Fix type mismatches in return values that were breaking gcc builds.
No bug number.


git-svn-id: svn://10.0.0.236/trunk@139639 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 03:24:59 +00:00
wtc%netscape.com
6d47044c42 Bug 197890: Eliminated the artificial dependency of all NSS cmd tools on
zlib.  Only some of them (modutil and signtool) need zlib and we now define
that dependency explicitly.  In shlibsign/sign.sh, escape the drive letter
if the pathname contains it and we are using Cygwin so that the pathname
does not contain any colon, which is the PATH separator in Cygwin. r=relyea
Modified Files: platlibs.mk modutil/manifest.mn shlibsign/sign.sh
	signtool/manifest.mn


git-svn-id: svn://10.0.0.236/trunk@139615 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 21:48:18 +00:00
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
relyea%netscape.com
f06f3410eb Make indention style consistant with SSL's usage, not softoken/pk11 usage.
git-svn-id: svn://10.0.0.236/trunk@139387 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 16:36:43 +00:00
wtc%netscape.com
8a36238e8d Bug 197147: removed an invalid/unnecessary comparison of two
PRIntervalTimes in pk11_InDelayPeriod.


git-svn-id: svn://10.0.0.236/trunk@139363 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 01:16:00 +00:00
relyea%netscape.com
baad4775cd Allow for tokens that don't require login. bug 197082
git-svn-id: svn://10.0.0.236/trunk@139334 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 19:22:32 +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
jpierre%netscape.com
d972ffd695 Fix for 192590 - add ability to encode NSSCMSRecipientInfo . r=javi, wtc
git-svn-id: svn://10.0.0.236/trunk@139251 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 03:38:54 +00:00
wtc%netscape.com
15728da735 Bug 196776: the 'src' argument to the ASN.1 encoding functions should be
declared 'const'.
Modified Files: secasn1.h secasn1e.c


git-svn-id: svn://10.0.0.236/trunk@139247 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 02:31:16 +00:00
kirk.erickson%sun.com
45c67b7f19 Shifted optimization level on Solaris to -xO3 (bug 122974).
git-svn-id: svn://10.0.0.236/trunk@139240 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-11 01:18:31 +00:00
jpierre%netscape.com
df243c748e Fix for bug 175167 - don't use mark & release in QuickDER decoder . r=wtc
git-svn-id: svn://10.0.0.236/trunk@139061 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 01:13:22 +00:00
wtc%netscape.com
2e8471d585 Bug 118832: with the removal of the crmfi.h inclusion, CRMFEncryptedKey
becomes an incomplete type, and aCC on HP-UX does not allow using
static_cast to cast a pointer to an incomplete type to void *.  Use
implicit conversion of a data pointer to void * instead. r=kaie. sr=dbaron.


git-svn-id: svn://10.0.0.236/trunk@139022 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 15:04:46 +00:00
relyea%netscape.com
c03e47d2be remove last references to TraverseCerts by removing depricated functions with call it. r=wtc
git-svn-id: svn://10.0.0.236/trunk@138980 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 21:46:20 +00:00
relyea%netscape.com
e797ec8658 Remove external use of SEC_TraversePermCerts(). Bug 130968.
git-svn-id: svn://10.0.0.236/trunk@138895 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 01:04:33 +00:00
relyea%netscape.com
595c9aa935 Bug 185245. including wtc's comments.
Don't reference memory beyond the end the the data element when decoding a
SubjectEntry. Prevents crashes from corrupted Subject Entries.


git-svn-id: svn://10.0.0.236/trunk@138894 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 01:02:03 +00:00
relyea%netscape.com
417864a666 Fix memory leaks. (roll fixes from 3.7 BRANCH).
git-svn-id: svn://10.0.0.236/trunk@138893 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 00:59:36 +00:00
relyea%netscape.com
f054c87eff Incorporate wtc comment from bug 19061 (removal of commented code).
git-svn-id: svn://10.0.0.236/trunk@138888 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 23:11:09 +00:00
relyea%netscape.com
0595879250 bug 162976: make crl update atomic. Set up new Crl with a new Object ID which is different from the old one.
git-svn-id: svn://10.0.0.236/trunk@138884 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 22:36:27 +00:00
relyea%netscape.com
a3130b9d86 Bug 162976. Make CRL updates 'atomic' . Insert new CRL before deleting the
old one.b


git-svn-id: svn://10.0.0.236/trunk@138882 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 22:34:56 +00:00
relyea%netscape.com
48cadc778a Print all the certs for a given nickname, not just the first.
git-svn-id: svn://10.0.0.236/trunk@138881 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-04 22:32:24 +00:00
relyea%netscape.com
7fb79e38a6 Fix QA failures on tip (don't dereference through a NULL pointer).
git-svn-id: svn://10.0.0.236/trunk@138807 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-03 19:46:22 +00:00
wtc%netscape.com
b6a61b8a41 Bug 195127: 1. Enable DEBUG_SHVERIFY. 2. Added debug output to print the
file name if PR_Open fails.


git-svn-id: svn://10.0.0.236/trunk@138747 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-01 01:53:11 +00:00
relyea%netscape.com
56d8f097f5 bug 19590
RFE:Add ability to encode/decode NSSCMSRecipientInfo structures

r=javi,wtc


git-svn-id: svn://10.0.0.236/trunk@138739 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 23:32:29 +00:00
ian.mcgreer%sun.com
b74702329e bug 177556, signtool -l fails
r=wtc


git-svn-id: svn://10.0.0.236/trunk@138724 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 21:14:36 +00:00
ian.mcgreer%sun.com
f9618061ba bug 191757, InitOIDHash() not threadsafe
r=relyea


git-svn-id: svn://10.0.0.236/trunk@138723 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 21:13:20 +00:00
bolian.yin%sun.com
e3005521b9 Bug 194821, Page Info: add access keys for _H_elp button, and _V_iew in Security tab
r=db48x, sr=jaggernaut, patch by jessie.li@sun.com.


git-svn-id: svn://10.0.0.236/trunk@138702 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 11:20:20 +00:00
wtc%netscape.com
3eae84f470 Bug 195196: fixed a typo.
git-svn-id: svn://10.0.0.236/trunk@138610 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 14:49:30 +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
kairo%kairo.at
de1f7b5269 bug 194924 - localeVersion update for 1.4a, r=rchen, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@138565 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 00:05:44 +00:00
nelsonb%netscape.com
434fd1bc8e Add missing dependency on error headers.
git-svn-id: svn://10.0.0.236/trunk@138557 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 23:52:40 +00:00
nelsonb%netscape.com
2334d81ead Fix bug 194840. Get new random seed before each attempt to sign with DSA.
git-svn-id: svn://10.0.0.236/trunk@138484 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 23:45:23 +00:00
kirk.erickson%sun.com
b5ee5bd796 Addresses bug 193378 modutil should print an error message,
by printing error on SECMOD_DeleteInternalModule() failure.


git-svn-id: svn://10.0.0.236/trunk@138408 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 02:09:11 +00:00
wtc%netscape.com
6166f01207 Bug 190537: build OS/2 DLLs using the map files to control symbol export.
The patch is contributed by Javier Pedemonte <pedemont@us.ibm.com>.
Modified files: coreconf/OS2.mk coreconf/rules.mk nss/lib/ckfw/nssck.api


git-svn-id: svn://10.0.0.236/trunk@138405 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 01:40:04 +00:00
pete.zha%sun.com
f9f6fa8d4d bug=193068
Missing accesskeys in preference dialogs
r=timeless sr=jaggernaut@netscape.com


git-svn-id: svn://10.0.0.236/trunk@138317 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 07:59:17 +00:00
robin.lu%sun.com
8f94e9dea7 fixed bug 149841 It should NOT be possible to open cert manager twice at the same time. r=kaie sr=alecf
git-svn-id: svn://10.0.0.236/trunk@138316 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 07:07:13 +00:00
wtc%netscape.com
4f908e5c38 Simplified the test for substrings.
git-svn-id: svn://10.0.0.236/trunk@138191 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:20:07 +00:00
varga%netscape.com
4d74cb4109 Fix for bug 192365. Remove extraneous seltype="multiple" attributes of <tree>s in xul.
r=varga, sr=jag, patch by Daniel Crisman <bugzilla@w.d6.org>


git-svn-id: svn://10.0.0.236/trunk@138173 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 11:48:19 +00:00
mscott%netscape.com
4d95a13df1 ACK this wasn't meant for the trunk. File wasn't tagged properly. Sorry. backing out.
git-svn-id: svn://10.0.0.236/trunk@138141 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 02:35:31 +00:00
mscott%netscape.com
1cf9b56f5c hide ftp channel when building minotaur
git-svn-id: svn://10.0.0.236/trunk@138139 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 02:22:51 +00:00
nelsonb%netscape.com
3c19bbc924 Fix bug 160207. Make TLS implementation resistant to timing attacks on
CBC block mode cipher suites in TLS.  See bug for details.


git-svn-id: svn://10.0.0.236/trunk@138124 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-21 23:00:16 +00:00
wtc%netscape.com
168c93342c Bug 194309: cvs removed libpath.c because the freebl_GetLibraryFilePathname
function has been replaced by the new NSPR 4.3 function
PR_GetLibraryFilePathname.


git-svn-id: svn://10.0.0.236/trunk@138077 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-21 02:40:52 +00:00
wtc%netscape.com
c30bd7cdf0 Bug 194309: replaced freebl_GetLibraryFilePathname by the new NSPR 4.3
function PR_GetLibraryFilePathname.
Modified files: config.mk manifest.mn shvfy.c


git-svn-id: svn://10.0.0.236/trunk@138057 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-21 00:41:24 +00:00
mkaply%us.ibm.com
53a1ebe92b OS/2 bustage - PR_CALLBACK
git-svn-id: svn://10.0.0.236/trunk@138039 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-20 19:09:43 +00:00
wtc%netscape.com
e4ed87c31b Bug 194222: Removed SECMOD_CallOnce. It is replaced by the new NSPR 4.3
function PR_CallOnceWithArg.
Modified files: nss/nssinit.c pk11wrap/pk11cert.c pk11wrap/secmodi.h


git-svn-id: svn://10.0.0.236/trunk@138037 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-20 16:58:57 +00:00
wtc%netscape.com
e9f14945d3 Bug 118832: do not include NSS private header files. "genname.h" is simply
not needed.  "crmfi.h" can be avoided by using the public function
CRMF_EncodeCertReqMessages.  r=kaie. sr=bryner. a=asa for mozilla 1.3.
Modified Files: Makefile.in nsCrypto.cpp nsNSSIOLayer.cpp


git-svn-id: svn://10.0.0.236/trunk@138034 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-20 14:56:10 +00:00