Bug 753136 - Fixing ssl3_HandleSupportedPointFormatsXtn draft
authorMartin Thomson <martin.thomson@gmail.com>
Sun, 01 Feb 2015 11:44:39 -0800
changeset 240370 8be1fdda9cb96b5495ca26fb727fd3ab95bc574c
parent 240369 a3c47a719d9e51ff26e7d1f716191a61f6aaa9c9
child 240371 e3ccfdaeb392655c1814dd781432aa7d43327ef0
push id529
push usermartin.thomson@gmail.com
push dateSun, 01 Feb 2015 19:45:19 +0000
bugs753136
milestone38.0a1
Bug 753136 - Fixing ssl3_HandleSupportedPointFormatsXtn
security/nss/lib/ssl/ssl3ecc.c
--- a/security/nss/lib/ssl/ssl3ecc.c
+++ b/security/nss/lib/ssl/ssl3ecc.c
@@ -1194,17 +1194,17 @@ ssl3_HandleSupportedPointFormatsXtn(sslS
             rv = ssl3_RegisterServerHelloExtensionSender(ss, ex_type,
                               &ssl3_SendSupportedPointFormatsXtn);
             return rv;
         }
     }
 loser:
     /* evil client doesn't support uncompressed */
     ssl3_DisableECCSuites(ss, ecSuites);
-    return SECFailure;
+    return SECSuccess;
 }
 
 
 #define SSL3_GET_SERVER_PUBLICKEY(sock, type) \
     (ss->serverCerts[type].serverKeyPair ? \
     ss->serverCerts[type].serverKeyPair->pubKey : NULL)
 
 /* Extract the TLS curve name for the public key in our EC server cert. */