867 Commits

Author SHA1 Message Date
kaie%kuix.de
13af67a8d4 bug 137506, Only internal token's keys can be exported
Patch by Bob Relyea, r=kengert


git-svn-id: svn://10.0.0.236/trunk@187226 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 02:29:25 +00:00
kaie%kuix.de
dcf905f887 bug 149834, Enhance PSM speed by using new NSS API CERT_VerifyCertificateNow
Patch by John G. Myers, r=kengert


git-svn-id: svn://10.0.0.236/trunk@187224 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 02:14:04 +00:00
kaie%kuix.de
93f65786df bug 316710, Land some generic crypto backend code, mostly cleanup, some small enhancements
Patch by Bob Relyea, r=kengert


git-svn-id: svn://10.0.0.236/trunk@187222 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 02:07:47 +00:00
kaie%kuix.de
47647af408 bug 259031, Add support for displaying certificate extensions
Patch contributed by Martin v. Loewis.
r=kengert/rrelyea/wtchang sr=shaver/rrelyea


git-svn-id: svn://10.0.0.236/trunk@186577 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-25 21:09:45 +00:00
kaie%kuix.de
8398711c52 trying to fix SUN bustage
git-svn-id: svn://10.0.0.236/trunk@186318 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-20 12:25:21 +00:00
kaie%kuix.de
a520873869 b=255408 Need to be able to build mozilla --with-system-nss
r=wtc/bsmedberg
Note: patches for bugs 288647 and 317620 might be required before enabling this build feature works.


git-svn-id: svn://10.0.0.236/trunk@186312 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-20 09:47:11 +00:00
kaie%kuix.de
d5c98de85d Backing out patch for bug 259031,
because of build failures on Windows.


git-svn-id: svn://10.0.0.236/trunk@185622 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 23:45:53 +00:00
kaie%kuix.de
fe21cca619 Trying to fix bustage from checkin for bug 259031.
git-svn-id: svn://10.0.0.236/trunk@185621 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 23:38:08 +00:00
kaie%kuix.de
7847853bee Bug 220815, Non localisable strings in nsCertPicker.cpp and nsNSSIOLayer.cpp
r=jgmyers, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@185620 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 23:08:44 +00:00
kaie%kuix.de
fb43590ed6 Bug 259031, Add support for displaying certificate extensions
Patch provided by Martin v. Loewis
r=rrelyea r=kengert sr=shaver


git-svn-id: svn://10.0.0.236/trunk@185617 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 22:29:14 +00:00
timeless%mozdev.org
652e9cace4 Bug 299099 remove useless references to nsVoidArray
r=kaie sr=bz


git-svn-id: svn://10.0.0.236/trunk@185496 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-01 04:23:37 +00:00
dbaron%dbaron.org
ea56e835a3 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@184589 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 20:09:51 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
kaie%kuix.de
839b06abc4 bug 265991, Can't import a pfx file encrypted with an empty password
r=wtchang, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@184455 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 13:28:56 +00:00
kaie%kuix.de
7fb80f3920 bug 200119, crash when I shutdown (StopCRLUpdateTimer) [@ nsHashtable::Reset ]
r=darin, sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@184301 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 17:49:52 +00:00
kaie%kuix.de
d0485f095a fix bug 252436, non-ascii characters not recognized by master password dialog
r=dbaron, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@184089 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 11:25:53 +00:00
cvshook%sicking.cc
b26f9f52fb Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
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