Commit Graph

4439 Commits

Author SHA1 Message Date
kairo%kairo.at
ecab08be9b bug 214207 - update localeVersion for 1.5b - rs=blizzard, a=asa
git-svn-id: svn://10.0.0.236/trunk@145864 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-11 11:31:24 +00:00
wtc%netscape.com
9d13f6067f Deleted useless local variable 'arena' in cert_ImportCAChain.
git-svn-id: svn://10.0.0.236/trunk@145770 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-08 23:15:50 +00:00
wtc%netscape.com
c910338374 Bugscape bug 49314: code cleanup. Throw InvalidKeyException directly
instead of NoSuchAlgorithmException.


git-svn-id: svn://10.0.0.236/trunk@145709 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-07 21:45:35 +00:00
glen.beasley%sun.com
3a70582427 215190 delete CA created certs
git-svn-id: svn://10.0.0.236/trunk@145683 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-07 00:34:32 +00:00
brendan%mozilla.org
95220b5330 Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron).
git-svn-id: svn://10.0.0.236/trunk@145624 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 20:09:21 +00:00
nicolson%netscape.com
eb166f8ac0 Convert public key to JSS public key.
git-svn-id: svn://10.0.0.236/trunk@145620 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 18:54:49 +00:00
wtc%netscape.com
1cbc8808cd Bugzilla bug 214695: fixed incorrect use of PR_AtomicDecrement on reference
counts.  The reference count should not be read "naked".  Instead, we
should simply use the return value of PR_AtomicDecrement for the result of
the decrement.
Modified Files: dev/devmod.c dev/devslot.c dev/devtoken.c pki/certificate.c
pki/pkibase.c


git-svn-id: svn://10.0.0.236/trunk@145445 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-01 02:02:47 +00:00
nelsonb%netscape.com
e4252fb60f Fix bug 213084. Detect when cert in signature cannot be imported.
Detect NULL pointer, don't crash.


git-svn-id: svn://10.0.0.236/trunk@145407 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-31 00:16:27 +00:00
bishakhabanerjee%netscape.com
62c9c09bcb Bug 213903: removing unused variables 'delold', 'save', 'entry'
git-svn-id: svn://10.0.0.236/trunk@145299 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 22:55:16 +00:00
bishakhabanerjee%netscape.com
25c02d6eaa Bug 213902 : removing unused variable "next" in "cert_DecodeNameConstraintSubTree"
git-svn-id: svn://10.0.0.236/trunk@145293 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:53:16 +00:00
bzbarsky%mit.edu
9e4941c980 DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145292 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:35:53 +00:00
glen.beasley%sun.com
9470bddcc8 remove no longer used include blapi.h
git-svn-id: svn://10.0.0.236/trunk@145172 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 23:01:08 +00:00
caillon%returnzero.com
cd46cbbaad Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)


git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +00:00
jpierre%netscape.com
a32d157f80 Allow freebl to build correctly under MS VC++ .net 2003 . sr=nelsonb
git-svn-id: svn://10.0.0.236/trunk@145044 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 02:04:57 +00:00
wtc%netscape.com
0d9b1bbf83 Bugzilla bug 213192: take the first two components of $(OS_RELEASE) the
right way.  The basename function that we were using only works when
$(OS_RELEASE) has exactly three components.  The patch is contributed by
Ed Catmur <ed@catmur.co.uk>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@145040 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-21 23:40:51 +00:00
wtc%netscape.com
fbc33fde7e Bugzilla bug 211350: support IRIX Alpha releases, whose 'uname -r' output
contains "-ALPHA...".


git-svn-id: svn://10.0.0.236/trunk@145026 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-21 18:51:08 +00:00
jaggernaut%netscape.com
f34216bf2d Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
wtc%netscape.com
7df2542e5b Bugzilla bug 212797: added Linux2.6.mk so that we can build on Linux 2.6
kernels.


git-svn-id: svn://10.0.0.236/trunk@144982 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-19 21:21:50 +00:00
wtc%netscape.com
3b73d450e3 Bugzilla bug 213158: fixed the misspelling of "attach". The patch is
contributed by Pierre Chanial <chanial@noos.fr>.
Modified Files: pk11slot.c secmodt.h


git-svn-id: svn://10.0.0.236/trunk@144979 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-19 20:49:35 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
scott%scott-macgregor.org
6fd3ed6b0a change the doctype from window to dialog. Thanks to Christian Biesinger for pointing that out.
r/sr=mscott


git-svn-id: svn://10.0.0.236/trunk@144767 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 03:31:16 +00:00
scott%scott-macgregor.org
f00b66919f Bug #212459 --> Give the certificate manager a face lift. Add a 5 pixel border around the tabbox,
add an ok button which can be used to dismiss the window, inherit the ok/help buttons from the dialog
overlay.

Add spacing between the tree control and the edit / delete buttons underneath the tree control.

r=kaie
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@144762 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-12 00:36:01 +00:00
wtc%netscape.com
81587a9538 Backed out Bob Relyea's workaround for the deadlock in rev. 1.15. The
correct fix is in rev. 1.36 of tdcache.c (see Bugzilla bug 212112).


git-svn-id: svn://10.0.0.236/trunk@144744 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:52:04 +00:00
nicolson%netscape.com
bf9c54a723 Remove dependency on secrng.h. We don't need it.
git-svn-id: svn://10.0.0.236/trunk@144712 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 18:13:26 +00:00
nelsonb%netscape.com
d1a6dbedb5 Restore sslreq.txt to text form, where it will have different line
endings on unix, than on windows or on Mac.


git-svn-id: svn://10.0.0.236/trunk@144696 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 04:14:24 +00:00
nelsonb%netscape.com
57bb7efbcd Test with the new file sslreq.dat rather than the old file sslreq.txt.
git-svn-id: svn://10.0.0.236/trunk@144695 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 04:05:12 +00:00
nelsonb%netscape.com
41c6214e44 This is sslreq.txt with a different file name, to clearly show that
this file is to be treated as a binary file, not as text.


git-svn-id: svn://10.0.0.236/trunk@144694 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 03:55:55 +00:00
wtc%netscape.com
834368a3fb Bug 212112: we don't need to lock td->cache->lock while calling
STAN_ForceCERTCertificateUpdate.  This fixed a recursive deadlock.
r=mcgreer.


git-svn-id: svn://10.0.0.236/trunk@144669 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-10 01:24:17 +00:00
nelsonb%netscape.com
1c7ab81449 Change cert_GetCertificateEmailAddresses to return NULL rather than
a pointer to an empty string when a cert has no email addresses.
Partial fix for bug 211540.  Modified certdb/alg1485.c


git-svn-id: svn://10.0.0.236/trunk@144625 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 04:14:23 +00:00
wtc%netscape.com
b92ea1b87f Bug 212004: in CERT_IsUserCert we should test for a null cert->trust and
treat it as no trust.  r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@144624 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 04:12:16 +00:00
nelsonb%netscape.com
a9b14bcc5e Export SEC_DupCRL and declare it in certdb.h. Bug 208194.
Modified Files:	nss/nss.def certdb/certdb.h


git-svn-id: svn://10.0.0.236/trunk@144623 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 04:00:48 +00:00
wtc%netscape.com
3482ce4312 Bug 211384: fixed the bug that importing a CRL that already exists in the
DB causes NSS_Shutdown to fail.  Two files were changed.  1. crl.c: we
should not obtain a slot reference because PK11_FindCrlByName already
obtained a slot reference.  2. pk11cert.c: cleaned up code and fixed a slot
reference leak if the SECITEM_AllocItem call fails.  r=nelsonb.


git-svn-id: svn://10.0.0.236/trunk@144570 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 18:41:28 +00:00
wtc%netscape.com
ed5695a69e Re-enabled the fix for bug 208177.
git-svn-id: svn://10.0.0.236/trunk@144567 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 18:11:24 +00:00
kaie%netscape.com
d8775fe5a6 b=210948 Some file dialogs have harcoded filter description
patch from Vincent Béron
r=kaie sr=brendan


git-svn-id: svn://10.0.0.236/trunk@144563 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 14:46:21 +00:00
kaie%netscape.com
3ece8d7a91 b=195574 SSL extremely flaky if Ask for Master Password is 'Every time'
r=darin sr=brendan


git-svn-id: svn://10.0.0.236/trunk@144562 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 14:41:02 +00:00
bishakhabanerjee%netscape.com
c89dbbcf5e patch to correct false failure reporting - bug 167825
git-svn-id: svn://10.0.0.236/trunk@144436 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 17:50:18 +00:00
nelsonb%netscape.com
a22f888a86 Add missing declaration of NSS_Get_SECKEY_EncryptedPrivateKeyInfoTemplate
git-svn-id: svn://10.0.0.236/trunk@144423 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-03 07:04:30 +00:00
nelsonb%netscape.com
02bbbd5bfa Fix bug 211049. Another issue with empty pointer lists from group
decodings.  Patch by Wan-Teh Chang <wtc@netscape.com>.


git-svn-id: svn://10.0.0.236/trunk@144326 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-01 01:16:57 +00:00
nelsonb%netscape.com
aa6267105e Change the function definitions in dev so that the ctags program will
produce valid tags from these sources.


git-svn-id: svn://10.0.0.236/trunk@144324 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-01 00:32:22 +00:00
wtc%netscape.com
1d49269e16 Bug 210660: backed out the main change in the fix for bug 145322 because
the adoption of session is not thread safe.  This eliminates most of the
saving of sessions, but we must be correct first, and then optimize.
r=nicolson,nelsonb.
Modified Files: pk11func.h pk11skey.c


git-svn-id: svn://10.0.0.236/trunk@144228 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-27 22:28:50 +00:00
nelsonb%netscape.com
f76d526f1a Fix several bugs reported in bug 210707.
Change loops over RDNs and AVAs to detect NULL pointers.
Change list of attribute type "keywords" to match RFCs and internet
drafts.
Quote attribute values strings that contain adjacent embedded blanks.
Don't quote hex string values.
Always use hex string values when type OID is unrecognized.


git-svn-id: svn://10.0.0.236/trunk@144202 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-27 00:33:05 +00:00
nelsonb%netscape.com
22e603216c Move the declaration for CERT_CompareNameSpace from cert.h to genname.h
because it is a private function.  Change the interface for this
function so that it returns a SECStatus, unambiguously indicating the
success or failure of the name constraints test.  The function no
longer takes a list of cert subject names, instead, it takes a list
of cert pointers, and optionally outputs one of those pointers when
an error occurs.  This eliminates a cert reference leak.


git-svn-id: svn://10.0.0.236/trunk@144179 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 01:56:34 +00:00
nelsonb%netscape.com
7e283ffb16 This patch extracts rfc822 names from a cert's distinguished name at the
time when the list of cert names is being built and builds a GeneralName
out of it, just as if the rfc822 name had come from a subject alt name
extension. This way, no special handling is needed of either directory
names or rfc822 names in the name constraints code.  The special "phase 1"
loop in cert_CompareNameWithConstraints disappears compmletely.  And all
the cases in the (former phase 2) loop can now simply assert that the
name's type matches the constraint's type exactly.

This patch also factors out the code that creates new CERTGeneralNames and
that copies a single CERTGeneralName into new separate functions.  This
eliminates a lot of duplicated code whose correctness required lengthy
inspection.  Now these primitive operations are centralized.


git-svn-id: svn://10.0.0.236/trunk@144173 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-26 01:25:10 +00:00
bishakhabanerjee%netscape.com
0efa6eb51c enabling log scraping in header instead
git-svn-id: svn://10.0.0.236/trunk@144158 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 21:57:21 +00:00
bishakhabanerjee%netscape.com
df0d06428d enabling log scraping in header instead, where RESULTDIRURL gets created
git-svn-id: svn://10.0.0.236/trunk@144157 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 21:56:19 +00:00
bishakhabanerjee%netscape.com
8c09ccae81 removed new variable for Win platform - extra - don't need
git-svn-id: svn://10.0.0.236/trunk@144156 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 21:39:54 +00:00
bishakhabanerjee%netscape.com
3978307baf fix URL for Windows platform
git-svn-id: svn://10.0.0.236/trunk@144155 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 20:43:18 +00:00
bishakhabanerjee%netscape.com
c5c2f35659 taking out un-needed stuff
git-svn-id: svn://10.0.0.236/trunk@144153 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 17:39:38 +00:00
wtc%netscape.com
a8fecaa7db Shorten the clickable text portion of RESULTDIRURL.
git-svn-id: svn://10.0.0.236/trunk@144133 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 04:23:34 +00:00
bishakhabanerjee%netscape.com
8425b7d2fa enabling log scraping
git-svn-id: svn://10.0.0.236/trunk@144122 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 00:55:13 +00:00