Bug 1369606 - fix scanbuild error, a=bustage NSS_TLS13_DRAFT19_BRANCH
authorMartin Thomson <martin.thomson@gmail.com>
Sun, 11 Jun 2017 15:36:48 +0100
branchNSS_TLS13_DRAFT19_BRANCH
changeset 13427 0c2f460814688174180a1d4f863e4a33a47b45ec
parent 13426 de2d9bcedc24191c5e9a9eddb999fc75f84c7368
child 13428 a3c077a153caa13c71ae5835b72595b202786481
push id2242
push usermartin.thomson@gmail.com
push dateSun, 11 Jun 2017 14:36:57 +0000
reviewersbustage
bugs1369606
Bug 1369606 - fix scanbuild error, a=bustage
lib/ssl/ssl3con.c
--- a/lib/ssl/ssl3con.c
+++ b/lib/ssl/ssl3con.c
@@ -6777,17 +6777,16 @@ ssl3_HandleServerHello(sslSocket *ss, PR
 
     rv = ssl_ClientConsumeCipherSuite(ss, ss->version, &b, &length);
     if (rv != SECSuccess) {
         errCode = PORT_GetError();
         goto alert_loser;
     }
     rv = ssl3_SetupCipherSuite(ss, PR_TRUE);
     if (rv != SECSuccess) {
-        desc = internal_error;
         errCode = PORT_GetError();
         goto loser;
     }
 
     if (ss->version < SSL_LIBRARY_VERSION_TLS_1_3) {
         PRBool found = PR_FALSE;
         /* find selected compression method in our list. */
         rv = ssl3_ConsumeHandshakeNumber(ss, &temp, 1, &b, &length);