Bugzilla Bug 359484: made the fix for bug 341707 work for the SSL2 client
hello case. r=nelsonb,alexei.volkov git-svn-id: svn://10.0.0.236/trunk@215245 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
10f1ddb6c0
commit
8f2df656bf
@ -37,7 +37,7 @@
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
/* $Id: sslcon.c,v 1.33 2006-07-20 00:17:23 nelson%bolyard.com Exp $ */
|
||||
/* $Id: sslcon.c,v 1.34 2006-11-14 01:09:54 wtchang%redhat.com Exp $ */
|
||||
|
||||
#include "nssrenam.h"
|
||||
#include "cert.h"
|
||||
@ -3123,6 +3123,11 @@ ssl2_BeginClientHandshake(sslSocket *ss)
|
||||
#if defined(NSS_ENABLE_ECC) && !defined(NSS_ECC_MORE_THAN_SUITE_B)
|
||||
/* ensure we don't neogtiate ECC cipher suites with SSL2 hello */
|
||||
ssl3_DisableECCSuites(ss, NULL); /* disable all ECC suites */
|
||||
if (ss->cipherSpecs != NULL) {
|
||||
PORT_Free(ss->cipherSpecs);
|
||||
ss->cipherSpecs = NULL;
|
||||
ss->sizeCipherSpecs = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (!ss->cipherSpecs) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user