Home
last modified time | relevance | path

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

/external/chromium_org/net/third_party/nss/ssl/
Dssl3ext.c753 unsigned char *alpn_protos = NULL; in ssl3_ClientSendAppProtoXtn() local
772 alpn_protos = PORT_Alloc(len); in ssl3_ClientSendAppProtoXtn()
773 if (alpn_protos == NULL) { 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()
796 rv = ssl3_AppendHandshakeVariable(ss, alpn_protos, len, 2); in ssl3_ClientSendAppProtoXtn()
797 PORT_Free(alpn_protos); in ssl3_ClientSendAppProtoXtn()
798 alpn_protos = NULL; in ssl3_ClientSendAppProtoXtn()
811 if (alpn_protos) { in ssl3_ClientSendAppProtoXtn()
[all …]