Bug 1445731 - land NSS 1bde21f90bd1 UPGRADE_NSS_RELEASE, r=me

--HG--
extra : rebase_source : b23946c3f8f8ca33b1fe42f67febe604d36c6411
This commit is contained in:
J.C. Jones 2018-03-22 14:40:30 -07:00
Родитель 733a57dece
Коммит 2e7f40ab63
4 изменённых файлов: 7 добавлений и 4 удалений

Просмотреть файл

@ -1 +1 @@
c5dffd6269ea
1bde21f90bd1

Просмотреть файл

@ -10,4 +10,3 @@
*/
#error "Do not include this header file."

Просмотреть файл

@ -681,7 +681,11 @@ ssl_CallCustomExtensionSenders(sslSocket *ss, sslBuffer *buf,
}
}
sslBuffer_Append(buf, tail.buf, tail.len);
rv = sslBuffer_Append(buf, tail.buf, tail.len);
if (rv != SECSuccess) {
goto loser; /* Code already set. */
}
sslBuffer_Clear(&tail);
return SECSuccess;

Просмотреть файл

@ -350,7 +350,7 @@ dtls_GatherData(sslSocket *ss, sslGather *gs, int flags)
} else if (headerLen == 7) {
gs->remainder = (gs->hdr[5] << 8) | gs->hdr[6];
} else {
PORT_Assert(headerLen = 2);
PORT_Assert(headerLen == 2);
gs->remainder = gs->dtlsPacket.len - gs->dtlsPacketOffset;
}