darin%meer.net
ca087614d5
fixes bug 304286 "Certificate failures during automatic check for updates should not give user choice to connect anyway" r=biesi sr=dveditz
...
git-svn-id: svn://10.0.0.236/trunk@182294 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-15 02:46:06 +00:00
wtchang%redhat.com
648fddfe90
Bugzilla bug 298045: when importing a package of CA certs, display and ask
...
the user to trust the root most CA (instead of the leaf most CA) in the
package. Also make sure that the cert is indeed a CA cert. r=kaie,relyea.
sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@181003 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-26 22:43:22 +00:00
cst%andrew.cmu.edu
c473d6eb9e
Bug 284636 Fix typo in Website Certified by an Unknown Authority alert
...
Patch by stephend and Kurt <supernova_00@yahoo.com > r=kaie sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@180544 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 00:05:02 +00:00
smfr%smfr.org
cb8f7cb5f3
Fix bug 307293: make sure we initialize the mType and mTag members of nsNSSASN1Object. r=wtchang, sr=rrelyea.
...
git-svn-id: svn://10.0.0.236/trunk@180418 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 18:57:55 +00:00
cbiesinger%web.de
c201c3fcf4
bug 292368 remove obsolete file; replaced by nsICryptoHash
...
git-svn-id: svn://10.0.0.236/trunk@180033 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 17:51:57 +00:00
smfr%smfr.org
86da6c3acd
Fix bug 306795: nsNSSCertificateDB::IsCertTrusted() fails to check the return value from CERT_GetCertTrust(), so can return random trust bits. r=dougt, sr=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@179634 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-04 19:05:01 +00:00
bsmedberg%covad.net
484a59713a
Bug 306615 - Fold PSM into libxul r=darin
...
git-svn-id: svn://10.0.0.236/trunk@179464 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 12:43:58 +00:00
dougt%meer.net
94085e172f
Bug 302284. add xpi hash support to InstallTrigger.install(). r=dveditz, sr=shaver, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@179031 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-26 06:46:21 +00:00
bienvenu%nventure.com
9d24e2d17c
add optional support for mit kerberos for windows, patches by cneberg@gmail.com, r=darin, sr=bienvenu 280792
...
git-svn-id: svn://10.0.0.236/trunk@178239 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 14:25:22 +00:00
relyea%netscape.com
493a0a3758
Bug 225034 Certificate Manager Crashes Mozilla [@ nsCertTree::CmpByCrit]
...
sr=brendan r=wtc a=dbaron
The issue is the use of the PL_DHash* functions. It's possible that a given call
to PL_DHashOperate which adds a new entry may cause the hash table to expand,
and all the existing entries to be reallocated. PL_DHash does this by allocating
new memory, then copying the entries.
getCacheEntry() returns one of these hash entries. CmpBy() makes two consecutive
calls to getCacheEntry, then uses the returned entries for it's comparisons. If
the second entry call causes a new entry to be added to the table, and causes
the hash table to expand, the pointer to the first entry we retrieved will point
to freed memory.
The fix is to make the usable entry a pointer in the hashtable entry, and return
that pointer. When the hashtable rebuilds it's entries, the pointer will be
copied to the new entry and not be disturbed.
git-svn-id: svn://10.0.0.236/trunk@177782 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 21:23:51 +00:00
dougt%meer.net
6bed006974
Minimo only. Backing out 300373.
...
git-svn-id: svn://10.0.0.236/trunk@177056 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-03 05:24:18 +00:00
timeless%mozdev.org
236e5ac36b
Bug 283569 OOM crash [@ nsNSS_SSLGetClientAuthData]
...
patch by b.jacques@planet.nl r=kaie sr=darin a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176970 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 14:22:50 +00:00
mconnor%steelgryphon.com
07e51d0983
bug 194141 - missing calls to SSL_ClearSessionCache, r=nelson.bolyard, sr=dveditz, a=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@176789 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 18:15:20 +00:00
bzbarsky%mit.edu
354647c8df
Expose the subject name for the cert and an nsISupports pointer to the cert on
...
nsIPrincipal that represents a certificate principal. Change preference
storage to ensure matches in not only the fingerprint but also the subjectName
before applying privileges from preferences to a certificate principal. Remove
possibility for creating certificate principals without a useful identifying
name and make sure that names don't get munged by being forced to ASCII. Bug
240661, r=caillon, sr=dveditz, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176458 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-22 19:05:42 +00:00
pkw%us.ibm.com
fb203422e2
Bug 296449 - Error in string handling within <keygen>
...
r=kaie.bugs@gmail.com , sr=dveditz@cruzio.com , a=benjamin@smedbergs.us
git-svn-id: svn://10.0.0.236/trunk@176351 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-20 19:31:22 +00:00
timeless%mozdev.org
9b3053d086
Bug 283563 OOM crash [@ GetSlotWithMechanism][@ nsKeygenFormProcessor::GetPublicKey]
...
patch by b.jacques@planet.nl r=kaie sr=darin a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176041 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 19:31:14 +00:00
jshin%mailaps.org
5d6c3bdce9
bug 224820 : support UTF-16/32 (non-byte oriented char. encoding) in the form submission : r=biesi, sr=bz, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@176005 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 16:55:59 +00:00
bzbarsky%mit.edu
81d4b26e36
Fix leak due to non-use of already_AddRefed. Bug 296364, r=kaie, sr=bryner
...
git-svn-id: svn://10.0.0.236/trunk@176004 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-13 16:53:06 +00:00
dougt%meer.net
3bc42cf974
Backing out my changes in the last few hours because Chase is tagging the tree. (the tree was open, but he was tagging)
...
git-svn-id: svn://10.0.0.236/trunk@175970 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-12 22:01:25 +00:00
dougt%meer.net
b08c48d3dc
Fixing build bustage. Must use FORCE_USE_PIC when FORCE_SHARED_LIB. MINIMO only.
...
git-svn-id: svn://10.0.0.236/trunk@175968 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-12 21:39:45 +00:00
dougt%meer.net
3c493f1534
Fixing 300373. Build/Minimo change. To allow WinCE startup, some of our components must be loaded dynamically regardless if we are building static or not. r=bsmedberg, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@175914 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-11 16:38:28 +00:00
timeless%mozdev.org
d45261fa03
Bug 225034 Certificate Manager Crashes Mozilla [@ nsCertTree::CmpByCrit]
...
patch by kaie r=timeless sr=darin a=shaver
git-svn-id: svn://10.0.0.236/trunk@174710 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 17:27:17 +00:00
timeless%mozdev.org
4e4bc3ca7e
Bug 284366 PSM needs to handle Smart Cards seamlessly
...
fix casting on 64bit platforms
patch by ajschult@verizon.net r=rrelyea sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@174661 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-16 02:00:32 +00:00
relyea%netscape.com
6869e39a3c
Fix the license. Still bug 284366 PSM needs to handle Smart Cards seamlessly
...
r+sr+a=shaver
(caught by Christian persch)
git-svn-id: svn://10.0.0.236/trunk@174065 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 16:40:29 +00:00
cls%seawood.org
1ff0337cf7
Removing extraneous ;
...
git-svn-id: svn://10.0.0.236/trunk@174030 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 02:46:34 +00:00
cls%seawood.org
09c0d093fd
Removing extraneous ;
...
git-svn-id: svn://10.0.0.236/trunk@174029 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 02:39:16 +00:00
relyea%netscape.com
0090027704
SmartCard support checkin.
...
Bug 284366 "PSM needs to handle Smart Cards seamlessly" r=timeless sr=jst
a=shaver
git-svn-id: svn://10.0.0.236/trunk@174016 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 01:17:35 +00:00
relyea%netscape.com
6280f43435
New file portion of SmartCard support checkin.
...
Bug 284366 "PSM needs to handle Smart Cards seamlessly" r=timeless sr=jst
a=shaver
git-svn-id: svn://10.0.0.236/trunk@174014 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 01:14:02 +00:00
timeless%mozdev.org
d553886a3e
Bug 283566 OOM crash [@ nsNSSCertificate::GetDbKey][@ nsNSSCertificate::GetUsagesArray]
...
patch by ajschult@verizon.net r=kaie sr=darin a=shaver
git-svn-id: svn://10.0.0.236/trunk@173947 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 18:30:36 +00:00
dougt%meer.net
c3e3eda0f8
Add a scriptable hash function API. basically what this does is moves the hashing function out of the nsISignatureVerifier.idl and creates a new interface nsICryptoHash which is scriptable. Because of this change, we needed to fix up all of the call sites. r=darin, sr=dveditz, a=shaver
...
git-svn-id: svn://10.0.0.236/trunk@173927 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 16:06:53 +00:00
bsmedberg%covad.net
9512e8f354
Bug 281988 - Chrome registry supports for the xpcnativewrappers=yes flag. Chrome packaging fixup to apply the xpcnativewrappers=yes flag to our application chrome packages for ffox/tbird. This also stops the repackaging of thunderbird chrome. r=mscott+bz a=drivers
...
git-svn-id: svn://10.0.0.236/trunk@173628 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-20 12:58:57 +00:00
darin%meer.net
988e9415b5
fixes bug 250691 "Disable LMv1 hash by default" r=cneberg, sr=bryner, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@173457 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-15 17:38:58 +00:00
darin%meer.net
bd1832db3c
fixes bug 285991 "leak loading site from HTTPS" r=biesi sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@171762 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 01:35:06 +00:00
bsmedberg%covad.net
e46ca42267
Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@171646 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 14:50:16 +00:00
cbiesinger%web.de
30848c34f2
Bug 288011 eliminate nsISSLSocketProvider
...
r=darin sr=bz
git-svn-id: svn://10.0.0.236/trunk@171533 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 17:22:58 +00:00
gandalf%firefox.pl
635f46562f
Bug 279768: Bring build system to work with --enable-ui-locale. Security part; r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@170625 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-14 10:00:58 +00:00
bsmedberg%covad.net
f4f72beaa1
Bug 282057 - brand.dtd/properties live in the wrong chrome package... xulrunner apps cannot provide these files, which means they can't use various toolkit features r=darin moa=Neil (seamonkey)
...
git-svn-id: svn://10.0.0.236/trunk@170499 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 04:38:35 +00:00
bryner%brianryner.com
d73c7fa274
Inline access to XPCWrappedNative's nsISupports pointer, with do_QueryWrappedNative nsCOMPtr helper (bug 285404). r=jst, sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@170483 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 00:39:28 +00:00
bsmedberg%covad.net
fc4099e666
Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector)
...
git-svn-id: svn://10.0.0.236/trunk@169868 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-25 20:46:35 +00:00
dbaron%dbaron.org
5f5aef599f
Clean up loop a little. b=225034 r=kaie sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@169664 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 20:09:52 +00:00
bzbarsky%mit.edu
e3754cdb72
VerifySignature shouldn't store the certificate in the certificate store. Bug
...
240668, r=wtc, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@169580 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-21 23:13:18 +00:00
bryner%brianryner.com
9861051f37
Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
darin%meer.net
5bb8f98045
landing backend changes for bug 134105 "SOCKS5: DNS lookups should occur on proxy, not client side." (remote dns pref disabled by default) patch by malsmith@cs.rmit.edu.au, r=biesi, sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@166776 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-16 02:46:12 +00:00
cbiesinger%web.de
e108f837e0
271068 make frozen PSM headers part of the gecko sdk
...
patch by Crispin Flowerday <crispin@flowerday.cx > r=bsmedberg sr=darin
git-svn-id: svn://10.0.0.236/trunk@166601 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-11 13:24:31 +00:00
cbiesinger%web.de
9e54555186
Bug 223310 use nsIObserver rather than nsIDOMWindowInternal in nsIKeygenThread.
...
r=jgmyers sr=darin
git-svn-id: svn://10.0.0.236/trunk@165727 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-24 20:17:25 +00:00
cbiesinger%web.de
1eb4f42bc2
Bug 261637 move security.properties into PSM
...
r=bsmedberg sr=darin
git-svn-id: svn://10.0.0.236/trunk@165412 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 23:33:16 +00:00
darin%meer.net
3d52b0860b
fixes bug 219400 "remove callers of nsServiceManager:: methods" r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@165089 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-07 23:59:35 +00:00
timeless%mozdev.org
a976f09723
Bug 265652 Possible code cleanup of nsNSSCertificateDB and nsPKCS12Blob
...
r=biesi sr=darin
git-svn-id: svn://10.0.0.236/trunk@165008 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-05 15:23:35 +00:00
kjh-5727%comcast.net
f774e416d9
Bug 232068: security should use newer nsIPrefService APIs instead of nsIPref. Patch by Mikael Parknert (mikael@parknert.se), r=bienvenu, sr=darin.
...
git-svn-id: svn://10.0.0.236/trunk@161859 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-07 18:54:02 +00:00
kaie%kuix.de
fda39eeaba
b=249004 Do not import invalid/untrusted certs, prevent a DoS that disables SSL connections to trusted peers.
...
r=relyea sr=jst/brendan
git-svn-id: svn://10.0.0.236/trunk@159943 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-28 00:31:37 +00:00