Home
last modified time | relevance | path

Searched refs:nextProtoNego (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/net/third_party/nss/patches/
Dalpn.patch138 + if (!ss->opt.nextProtoNego.data || ss->firstHsDone) {
144 + ss->opt.nextProtoNego.len;
152 + const unsigned int len = ss->opt.nextProtoNego.len;
160 + unsigned int i = ss->opt.nextProtoNego.data[0] + 1;
162 + memcpy(alpn_protos, &ss->opt.nextProtoNego.data[i], len - i);
163 + memcpy(alpn_protos + len - i, ss->opt.nextProtoNego.data, i);
166 + memcpy(alpn_protos, ss->opt.nextProtoNego.data, len);
Dsignedcertificatetimestamps.patch184 SECItem nextProtoNego;
/external/chromium_org/net/third_party/nss/ssl/
Dssl3ext.c740 if (!ss->opt.nextProtoNego.data || ss->firstHsDone) { in ssl3_ClientSendAppProtoXtn()
746 ss->opt.nextProtoNego.len; in ssl3_ClientSendAppProtoXtn()
754 const unsigned int len = ss->opt.nextProtoNego.len; in ssl3_ClientSendAppProtoXtn()
762 unsigned int i = ss->opt.nextProtoNego.data[0] + 1; in ssl3_ClientSendAppProtoXtn()
764 memcpy(alpn_protos, &ss->opt.nextProtoNego.data[i], len - i); in ssl3_ClientSendAppProtoXtn()
765 memcpy(alpn_protos + len - i, ss->opt.nextProtoNego.data, i); in ssl3_ClientSendAppProtoXtn()
768 memcpy(alpn_protos, ss->opt.nextProtoNego.data, len); in ssl3_ClientSendAppProtoXtn()
Dsslsock.c476 SECITEM_FreeItem(&ss->opt.nextProtoNego, PR_FALSE); in ssl_DestroySocketContents()
1548 for (j = 0; j < ss->opt.nextProtoNego.len; ) { in ssl_NextProtoNegoCallback()
1549 if (protos[i] == ss->opt.nextProtoNego.data[j] && in ssl_NextProtoNegoCallback()
1550 PORT_Memcmp(&protos[i+1], &ss->opt.nextProtoNego.data[j+1], in ssl_NextProtoNegoCallback()
1557 j += 1 + (unsigned int)ss->opt.nextProtoNego.data[j]; in ssl_NextProtoNegoCallback()
1564 result = ss->opt.nextProtoNego.data; in ssl_NextProtoNegoCallback()
1595 SECITEM_FreeItem(&ss->opt.nextProtoNego, PR_FALSE); in SSL_SetNextProtoNego()
1596 rv = SECITEM_CopyItem(NULL, &ss->opt.nextProtoNego, &dataItem); in SSL_SetNextProtoNego()
Dsslimpl.h313 SECItem nextProtoNego; member