Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
D_ssl.c320 int alpn_protocols_len; member
2441 ctx->alpn_protocols, ctx->alpn_protocols_len, in _selectALPN_cb()
2460 self->alpn_protocols_len = protos.len; in _set_alpn_protocols()
2463 if (SSL_CTX_set_alpn_protos(self->ctx, self->alpn_protocols, self->alpn_protocols_len)) in _set_alpn_protocols()
/external/python/cpython3/Modules/
D_ssl.c413 unsigned int alpn_protocols_len; member
3332 ctx->alpn_protocols, ctx->alpn_protocols_len, in _selectALPN_cb()
3360 self->alpn_protocols_len = (unsigned int)protos->len; in _ssl__SSLContext__set_alpn_protocols_impl()
3362 if (SSL_CTX_set_alpn_protos(self->ctx, self->alpn_protocols, self->alpn_protocols_len)) in _ssl__SSLContext__set_alpn_protocols_impl()