kaie%kuix.de
3ac2e3e15a
Bug 326159, enhance cert request generation using KEYGEN tag and JS function crypto.generateCRMFRequest
...
r=rrelyea
Portions of this patch originally appeared in bug 235773 and were contributed by Sheueling Chang / Vipul Gupta / Douglas Stebila
git-svn-id: svn://10.0.0.236/trunk@212846 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-29 00:50:46 +00:00
sayrer%gmail.com
4b8ca2af78
bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@209419 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-08 04:35:17 +00:00
kaie%kuix.de
2ab5491ff8
Backing out patch for bug 326159, as it causes breakage on mac tinderbox
...
git-svn-id: svn://10.0.0.236/trunk@208949 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-31 23:02:55 +00:00
kaie%kuix.de
2f77d625e9
Bug 326159, enhance cert request generation using KEYGEN tag and JS function crypto.generateCRMFRequest
...
r=rrelyea
Portions of this patch originally appeared in bug 235773 and were contributed by Sheueling Chang / Vipul Gupta / Douglas Stebila
git-svn-id: svn://10.0.0.236/trunk@208947 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-31 21:56:25 +00:00
mrbkap%gmail.com
8231d5c121
Propagate the exception out. bug 349241, r=kaie sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@207876 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-18 22:07:14 +00:00
kaie%kuix.de
860a75c550
Bug 337345, Leak in nsCrypto::GenerateCRMFRequest
...
r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@201321 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-30 02:59:19 +00:00
mrbkap%gmail.com
24f49e9636
Keep a strong reference to the context that we're operating on. This involves
...
giving the sandbox context an nsISupports private data that controls its
lifetime. bug 337462, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@200788 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-24 04:33:24 +00:00
mhammond%skippinet.com.au
e96b5e495a
Land DOM_AGNOSTIC3_BRANCH, bug 255942. r=a few people, sr=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@199778 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-13 03:07:47 +00:00
timeless%mozdev.org
64fb5741fd
Bug 336479 oomish crash [@ cryptojs_GetScriptPrincipal] because of a missing *
...
r=kaie sr=bz
git-svn-id: svn://10.0.0.236/trunk@196294 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-11 13:20:37 +00:00
darin%meer.net
42edf059cf
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
...
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
kaie%kuix.de
4f30b17f91
Bug 333404, freeString is unused DEADCODE in nsCrypto::ImportUserCertificates
...
r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@194975 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 16:21:00 +00:00
dbaron%dbaron.org
18e5499771
Check argc. b=330900 r=kengert sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@192908 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-24 06:51:24 +00:00
dbaron%dbaron.org
0d431ff7b3
Fix indexing botch. Patch from Mikolaj J. Habryn <dichro-mozilla@rcpt.to>. r=kengert sr=dbaron b=330897
...
git-svn-id: svn://10.0.0.236/trunk@192772 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-22 07:40:40 +00:00
kaie%kuix.de
df7057e531
fix bug 328771
...
r=rrelyea sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@191770 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-04 12:22:22 +00:00
dveditz%cruzio.com
2cf6b150f4
bug 327126 prevent missing JSContext during generateCRMFRequest() r=mrbkap, r=kengert, sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@190205 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 05:38:52 +00:00
cbiesinger%web.de
6322c04952
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
timeless%mozdev.org
4bddf6ff1d
Bug 106386 Correct misspellings in source code
...
patch by philippuryear@gmail.com r=timeless rs=brendan
git-svn-id: svn://10.0.0.236/trunk@187469 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-12 07:57:31 +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
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
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
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
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
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
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
roc+%cs.cmu.edu
0b0fa89131
Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
...
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
gerv%gerv.net
43cb9e1492
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
jst%mozilla.jstenback.com
0be91628bc
Fixing bug 240723. Cleaning up nsIFilePicker a bit, no more nsIDOMWindowInternal, and use our string classes and not raw strings. r=caillon@gmail.com, sr=bzbarsky@mit.edu
...
git-svn-id: svn://10.0.0.236/trunk@155308 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-21 23:38:22 +00:00
bryner%brianryner.com
3b4b8ed6c9
deCOMtaminate nsIScriptObjectPrincipal (bug 240745). This also fixes some code in nsCrypto.cpp that sems to have been mis-braced (I don't think it was working as intended). r+sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@155049 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 00:28:47 +00:00
peterv%propagandism.org
919b1eec26
Bustage fix.
...
git-svn-id: svn://10.0.0.236/trunk@153630 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 17:22:13 +00:00
peterv%propagandism.org
7f74918f17
Fix for bug 29152 (Cannot do formsigning - crypto.signText). r=kaie, sr=jst.
...
git-svn-id: svn://10.0.0.236/trunk@153625 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-06 15:52:44 +00:00
jgmyers%speakeasy.net
f750abe8b1
Clean up string stuff: bug 232812 r=ssaux sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@153266 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-26 04:07:23 +00:00
jst%mozilla.jstenback.com
854468a176
Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
...
git-svn-id: svn://10.0.0.236/trunk@152565 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-09 22:48:53 +00:00
brendan%mozilla.org
57f2064642
Fix missing cx param problem (223041, r=caillon, sr=dbaron).
...
git-svn-id: svn://10.0.0.236/trunk@148748 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-03 04:26:55 +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
caillon%returnzero.com
d55b44719f
Backing out the patch to bug 83536.
...
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +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
jst%netscape.com
ecae24eff4
Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@144108 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 21:43:01 +00:00
brendan%mozilla.org
836c4046f7
Don't include private and unnecessary js header files.
...
git-svn-id: svn://10.0.0.236/trunk@143956 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:13:59 +00:00
timeless%mozdev.org
9181be2f78
Bug 196352 JS_GetContextPrivate isn't used correctly
...
r=javi sr=heikki
git-svn-id: svn://10.0.0.236/trunk@140201 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 02:30: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
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
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
kaie%netscape.com
05c88cd5fb
b=189974 Profile Switching fails after JavaScript based cert import
...
PSM portion of fix
r=javi sr=darin a=asa
git-svn-id: svn://10.0.0.236/trunk@137221 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 22:33:49 +00:00
kaie%netscape.com
f94f02d55a
b=189205 Implement early shutdown of NSS resources
...
r=javi sr=darin
git-svn-id: svn://10.0.0.236/trunk@136592 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 14:03:00 +00:00
dbaron%dbaron.org
186eca206d
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@136023 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:45:23 +00:00
kaie%netscape.com
7e6de39a8e
b=177260 Fix known leaks in PSM, track blocking PSM UI, track open SSL sockets
...
r=javi sr=darin
git-svn-id: svn://10.0.0.236/trunk@135905 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 22:23:49 +00:00
kaie%netscape.com
75b53b404f
b=168448 Fixing bustage caused by previous checkin.
...
Filename nsIGeneratingKeypairInfoDialogs is too long,
moving to a short filename. Updating Makefiles and include statements.
git-svn-id: svn://10.0.0.236/trunk@129805 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 19:43:13 +00:00
kaie%netscape.com
16fe65898b
b=166664 Remove obsolete interface nsISecurityManagerComponent
...
r=javi sr=alecf
git-svn-id: svn://10.0.0.236/trunk@129802 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 19:09:11 +00:00
kaie%netscape.com
49287355c4
b=168448 PSM embedding freeze/ step 1/ move stuff & change data types
...
r=javi sr=alecf
git-svn-id: svn://10.0.0.236/trunk@129797 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-17 18:51:22 +00:00