Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/tls/
Dtls.c36 struct alpn_ctx *alpn_ctx = (struct alpn_ctx *)arg; in alpn_cb() local
38 if (SSL_select_next_proto((unsigned char **)out, outlen, alpn_ctx->data, in alpn_cb()
39 alpn_ctx->len, in, inlen) != in alpn_cb()
168 vhost->tls.alpn_ctx.len = (uint8_t)lws_alpn_comma_to_openssl(alpn_comma, in lws_context_init_alpn()
169 vhost->tls.alpn_ctx.data, in lws_context_init_alpn()
170 sizeof(vhost->tls.alpn_ctx.data) - 1); in lws_context_init_alpn()
173 &vhost->tls.alpn_ctx); in lws_context_init_alpn()
Dprivate-network.h46 struct alpn_ctx { struct
63 struct alpn_ctx alpn_ctx; argument
/third_party/openssl/apps/
Ds_server.c701 tlsextalpnctx *alpn_ctx = arg; in alpn_cb() local
717 ((unsigned char **)out, outlen, alpn_ctx->data, alpn_ctx->len, in, in alpn_cb()
1030 tlsextalpnctx alpn_ctx = { NULL, 0 }; in s_server_main() local
1717 alpn_ctx.data = NULL; in s_server_main()
1719 alpn_ctx.data = next_protos_parse(&alpn_ctx.len, alpn_in); in s_server_main()
1720 if (alpn_ctx.data == NULL) in s_server_main()
1968 if (alpn_ctx.data) in s_server_main()
1969 SSL_CTX_set_alpn_select_cb(ctx, alpn_cb, &alpn_ctx); in s_server_main()
2196 OPENSSL_free(alpn_ctx.data); in s_server_main()
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/library/
Dssl_lib.c1165 _openssl_alpn_to_mbedtls(struct alpn_ctx *ac, char ***palpn_protos) in _openssl_alpn_to_mbedtls()
1232 struct alpn_ctx *ac = arg; in SSL_CTX_set_alpn_select_cb()
1241 struct alpn_ctx *ac = arg; in SSL_set_alpn_select_cb()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-client.c76 struct alpn_ctx protos; in lws_ssl_client_bio_create()