Home
last modified time | relevance | path

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

/external/chromium_org/net/third_party/nss/patches/
Dalpn.patch8 - if (ss->ssl3.nextProto.len == 0)
9 + if (ss->ssl3.nextProto.len == 0 ||
83 return SECITEM_CopyItem(NULL, &ss->ssl3.nextProto, &result);
118 + SECITEM_FreeItem(&ss->ssl3.nextProto, PR_FALSE);
121 + return SECITEM_CopyItem(NULL, &ss->ssl3.nextProto, &protocol_name);
/external/chromium_org/net/third_party/nss/ssl/
Dsslsock.c1625 ss->ssl3.nextProto.data) { in SSL_GetNextProto()
1626 if (ss->ssl3.nextProto.len > bufLenMax) { in SSL_GetNextProto()
1630 PORT_Memcpy(buf, ss->ssl3.nextProto.data, ss->ssl3.nextProto.len); in SSL_GetNextProto()
1631 *bufLen = ss->ssl3.nextProto.len; in SSL_GetNextProto()
Dssl3ext.c658 SECITEM_FreeItem(&ss->ssl3.nextProto, PR_FALSE); in ssl3_ClientHandleNextProtoNegoXtn()
659 return SECITEM_CopyItem(NULL, &ss->ssl3.nextProto, &result); in ssl3_ClientHandleNextProtoNegoXtn()
694 SECITEM_FreeItem(&ss->ssl3.nextProto, PR_FALSE); in ssl3_ClientHandleAppProtoXtn()
697 return SECITEM_CopyItem(NULL, &ss->ssl3.nextProto, &protocol_name); in ssl3_ClientHandleAppProtoXtn()
Dsslimpl.h998 SECItem nextProto; member
Dssl3con.c10619 if (ss->ssl3.nextProto.len == 0 || in ssl3_SendNextProto()
10627 padding_len = 32 - ((ss->ssl3.nextProto.len + 2) % 32); in ssl3_SendNextProto()
10629 rv = ssl3_AppendHandshakeHeader(ss, next_proto, ss->ssl3.nextProto.len + in ssl3_SendNextProto()
10634 rv = ssl3_AppendHandshakeVariable(ss, ss->ssl3.nextProto.data, in ssl3_SendNextProto()
10635 ss->ssl3.nextProto.len, 1); in ssl3_SendNextProto()
12762 SECITEM_FreeItem(&ss->ssl3.nextProto, PR_FALSE); in ssl3_DestroySSL3Info()