| Index: net/third_party/nss/ssl/sslsock.c
|
| ===================================================================
|
| --- net/third_party/nss/ssl/sslsock.c (revision 55938)
|
| +++ net/third_party/nss/ssl/sslsock.c (working copy)
|
| @@ -40,7 +40,7 @@
|
| * the terms of any one of the MPL, the GPL or the LGPL.
|
| *
|
| * ***** END LICENSE BLOCK ***** */
|
| -/* $Id: sslsock.c,v 1.64 2010/01/28 06:19:13 nelson%bolyard.com Exp $ */
|
| +/* $Id: sslsock.c,v 1.67 2010/04/25 23:37:38 nelson%bolyard.com Exp $ */
|
| #include "seccomon.h"
|
| #include "cert.h"
|
| #include "keyhi.h"
|
| @@ -329,7 +329,7 @@
|
| ss->ephemeralECDHKeyPair = !os->ephemeralECDHKeyPair ? NULL :
|
| ssl3_GetKeyPairRef(os->ephemeralECDHKeyPair);
|
| /*
|
| - * XXX the preceeding CERT_ and SECKEY_ functions can fail and return NULL.
|
| + * XXX the preceding CERT_ and SECKEY_ functions can fail and return NULL.
|
| * XXX We should detect this, and not just march on with NULL pointers.
|
| */
|
| ss->authCertificate = os->authCertificate;
|
| @@ -2390,10 +2390,10 @@
|
| ssl_defaults.enableRenegotiation = SSL_RENEGOTIATE_UNRESTRICTED;
|
| else if (ev[0] == '0' || LOWER(ev[0]) == 'n')
|
| ssl_defaults.enableRenegotiation = SSL_RENEGOTIATE_NEVER;
|
| - else if (ev[0] == '3' || LOWER(ev[0]) == 'c')
|
| - ssl_defaults.enableRenegotiation = SSL_RENEGOTIATE_CLIENT_ONLY;
|
| - else
|
| - ssl_defaults.enableRenegotiation = SSL_RENEGOTIATE_REQUIRES_XTN;
|
| + else if (ev[0] == '2' || LOWER(ev[0]) == 'r')
|
| + ssl_defaults.enableRenegotiation = SSL_RENEGOTIATE_REQUIRES_XTN;
|
| + else if (ev[0] == '3' || LOWER(ev[0]) == 't')
|
| + ssl_defaults.enableRenegotiation = SSL_RENEGOTIATE_TRANSITIONAL;
|
| SSL_TRACE(("SSL: enableRenegotiation set to %d",
|
| ssl_defaults.enableRenegotiation));
|
| }
|
|
|