Searched refs:nextProtoNego (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/net/third_party/nss/ssl/ |
D | ssl3ext.c | 756 if (!ss->opt.enableALPN || !ss->opt.nextProtoNego.data || ss->firstHsDone) { in ssl3_ClientSendAppProtoXtn() 762 ss->opt.nextProtoNego.len; in ssl3_ClientSendAppProtoXtn() 770 const unsigned int len = ss->opt.nextProtoNego.len; in ssl3_ClientSendAppProtoXtn() 778 unsigned int i = ss->opt.nextProtoNego.data[0] + 1; in ssl3_ClientSendAppProtoXtn() 780 memcpy(alpn_protos, &ss->opt.nextProtoNego.data[i], len - i); in ssl3_ClientSendAppProtoXtn() 781 memcpy(alpn_protos + len - i, ss->opt.nextProtoNego.data, i); in ssl3_ClientSendAppProtoXtn() 784 memcpy(alpn_protos, ss->opt.nextProtoNego.data, len); in ssl3_ClientSendAppProtoXtn()
|
D | sslsock.c | 390 SECITEM_FreeItem(&ss->opt.nextProtoNego, PR_FALSE); in ssl_DestroySocketContents() 1482 for (j = 0; j < ss->opt.nextProtoNego.len; ) { in ssl_NextProtoNegoCallback() 1483 if (protos[i] == ss->opt.nextProtoNego.data[j] && in ssl_NextProtoNegoCallback() 1484 PORT_Memcmp(&protos[i+1], &ss->opt.nextProtoNego.data[j+1], in ssl_NextProtoNegoCallback() 1491 j += 1 + (unsigned int)ss->opt.nextProtoNego.data[j]; in ssl_NextProtoNegoCallback() 1498 result = ss->opt.nextProtoNego.data; in ssl_NextProtoNegoCallback() 1529 SECITEM_FreeItem(&ss->opt.nextProtoNego, PR_FALSE); in SSL_SetNextProtoNego() 1530 rv = SECITEM_CopyItem(NULL, &ss->opt.nextProtoNego, &dataItem); in SSL_SetNextProtoNego()
|
D | sslimpl.h | 313 SECItem nextProtoNego; member
|