Re: adding a new custom ciphersuite to NSS (to be used by Thunderbird for TLS establishment)
f masood via dev-security <[email protected]> Mon, 4 Dec 2017 00:03:06 -0800 (PST)
| Newsgroups | gmane.comp.mozilla.security |
|---|---|
| Message-ID | <[email protected]> |
On Wednesday, November 29, 2017 at 11:03:35 AM UTC+5, f masood wrote: > Thanks for the reply. > > 1. I did the changes to SSL3con.c but now when I start the Thunderbird.exe the application crashes and Mozilla Crash report dialog comes in. > > > 2. I have created a diff file in which i have used NS naming convention instead of MYSEED. So, NS === SEED cipher. > > 3. The diff file can be downloaded from the following link: > https://drive.google.com/drive/folders/1ZUY-rSBOZd5fVq58jVRUBJeFYrNkCgQB > > > > On Wednesday, November 29, 2017 at 2:06:40 AM UTC+5, Ángel wrote: > > On 2017-11-27 at 03:41 -0800, f masood via dev-security wrote: > > > Update: > > > > > > 1. i have done the changes as done by the patch however, I get the following error: > > > > > > i. /mozilla/security/nss/lib/ssl/ssl3con.c (179) :error C2078 (178) : too many initializers > > > > > > ii. /mozilla/security/nss/lib/ssl/ssl3con.c (179) :error C2078 (179) : too many initializers > > > > > > iii. /mozilla/security/nss/lib/ssl/ssl3con.c (179) :error C2078 (5609) : too many initializers > > > > > > iv. /mozilla/security/nss/lib/ssl/ssl3con.c (179) :error C2078 (5591) : too many initializers > > > > > > can anyone help me out ? i am stuck pretty bad ! > > > > Maybe you could provide a relevant snippet of the changes you were > > doing? Or at least provide a link to the file in hg.mozilla.org > > You clearly have an error in the C code around line 179 of > > mozilla/security/nss/lib/ssl/ssl3con.c but how should we know what you > > changed, and therein, what's wrong there? > > > > Cheers I have manually done changes (addition) in the mozilla/security/manager/ssl/nsNSSCallbacks.cpp file i.e. case TLS_ECDHE_ECDSA_WITH_MYSEED_CBC_SHA: value = 15; break; Although it is not mentioned in the PATCH file of CHACHA but all the CIPHERSUITES have been added to this file also, is this might be calling the thunderbird to crash again and again ??? _______________________________________________ dev-security mailing list [email protected] https://lists.mozilla.org/listinfo/dev-security