Searched refs:alpn_protocols (Results 1 – 8 of 8) sorted by relevance
/third_party/openssl/test/ |
D | ssl_test_ctx_test.c | 42 || !TEST_str_eq(conf1->alpn_protocols, conf2->alpn_protocols) in clientconf_eq() 55 || !TEST_str_eq(serv->alpn_protocols, serv2->alpn_protocols) in serverconf_eq() 192 fixture->expected_ctx->resume_extra.server2.alpn_protocols = in test_good_configuration() 194 if (!TEST_ptr(fixture->expected_ctx->resume_extra.server2.alpn_protocols)) in test_good_configuration()
|
/third_party/openssl/test/helpers/ |
D | ssl_test_ctx.h | 106 char *alpn_protocols; member 123 char *alpn_protocols; member
|
D | handshake.c | 68 OPENSSL_free(ctx_data->alpn_protocols); in ctx_data_free_data() 69 ctx_data->alpn_protocols = NULL; in ctx_data_free_data() 440 ctx_data->alpn_protocols, in server_alpn_cb() 611 if (extra->server.alpn_protocols != NULL) { in configure_handshake_ctx() 612 if (!TEST_true(parse_protos(extra->server.alpn_protocols, in configure_handshake_ctx() 613 &server_ctx_data->alpn_protocols, in configure_handshake_ctx() 618 if (extra->server2.alpn_protocols != NULL) { in configure_handshake_ctx() 620 || !TEST_true(parse_protos(extra->server2.alpn_protocols, in configure_handshake_ctx() 621 &server2_ctx_data->alpn_protocols, in configure_handshake_ctx() 628 if (extra->client.alpn_protocols != NULL) { in configure_handshake_ctx() [all …]
|
D | ssl_test_ctx.c | 354 IMPLEMENT_SSL_TEST_STRING_OPTION(SSL_TEST_CLIENT_CONF, client, alpn_protocols) 355 IMPLEMENT_SSL_TEST_STRING_OPTION(SSL_TEST_SERVER_CONF, server, alpn_protocols) 739 OPENSSL_free(conf->client.alpn_protocols); in ssl_test_extra_conf_free_data() 740 OPENSSL_free(conf->server.alpn_protocols); in ssl_test_extra_conf_free_data() 741 OPENSSL_free(conf->server2.alpn_protocols); in ssl_test_extra_conf_free_data()
|
D | handshake.h | 18 unsigned char *alpn_protocols; member
|
/third_party/python/Modules/ |
D | _ssl.c | 281 unsigned char *alpn_protocols; member 3067 self->alpn_protocols = NULL; in _ssl__SSLContext_impl() 3208 PyMem_FREE(self->alpn_protocols); in context_dealloc() 3312 ctx->alpn_protocols, ctx->alpn_protocols_len, in _selectALPN_cb() 3333 PyMem_Free(self->alpn_protocols); in _ssl__SSLContext__set_alpn_protocols_impl() 3334 self->alpn_protocols = PyMem_Malloc(protos->len); in _ssl__SSLContext__set_alpn_protocols_impl() 3335 if (!self->alpn_protocols) in _ssl__SSLContext__set_alpn_protocols_impl() 3337 memcpy(self->alpn_protocols, protos->buf, protos->len); in _ssl__SSLContext__set_alpn_protocols_impl() 3340 if (SSL_CTX_set_alpn_protos(self->ctx, self->alpn_protocols, self->alpn_protocols_len)) in _ssl__SSLContext__set_alpn_protocols_impl()
|
/third_party/python/Lib/ |
D | ssl.py | 561 def set_alpn_protocols(self, alpn_protocols): argument 563 for protocol in alpn_protocols:
|
/third_party/python/Lib/test/ |
D | test_ssl.py | 2602 alpn_protocols=None, argument 2616 if alpn_protocols: 2617 self.context.set_alpn_protocols(alpn_protocols)
|