Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/test/
H A Dssl_test_ctx_test.c40 || !TEST_str_eq(conf1->npn_protocols, conf2->npn_protocols) in clientconf_eq()
53 || !TEST_str_eq(serv->npn_protocols, serv2->npn_protocols) in serverconf_eq()
180 fixture->expected_ctx->extra.client.npn_protocols = OPENSSL_strdup("foo,bar"); in test_good_configuration()
181 if (!TEST_ptr(fixture->expected_ctx->extra.client.npn_protocols)) in test_good_configuration()
/freebsd/crypto/openssl/test/helpers/
H A Dhandshake.c67 OPENSSL_free(ctx_data->npn_protocols); in ctx_data_free_data()
68 ctx_data->npn_protocols = NULL; in ctx_data_free_data()
403 ctx_data->npn_protocols, in client_npn_cb()
415 *data = ctx_data->npn_protocols; in server_npn_cb()
591 if (extra->server.npn_protocols != NULL) { in configure_handshake_ctx()
592 if (!TEST_true(parse_protos(extra->server.npn_protocols, in configure_handshake_ctx()
593 &server_ctx_data->npn_protocols, in configure_handshake_ctx()
599 if (extra->server2.npn_protocols != NULL) { in configure_handshake_ctx()
600 if (!TEST_true(parse_protos(extra->server2.npn_protocols, in configure_handshake_ctx()
601 &server2_ctx_data->npn_protocols, in configure_handshake_ctx()
[all …]
H A Dssl_test_ctx.h106 char *npn_protocols; member
123 char *npn_protocols; member
H A Dssl_test_ctx.c349 IMPLEMENT_SSL_TEST_STRING_OPTION(SSL_TEST_CLIENT_CONF, client, npn_protocols)
350 IMPLEMENT_SSL_TEST_STRING_OPTION(SSL_TEST_SERVER_CONF, server, npn_protocols)
748 OPENSSL_free(conf->client.npn_protocols); in ssl_test_extra_conf_free_data()
749 OPENSSL_free(conf->server.npn_protocols); in ssl_test_extra_conf_free_data()
750 OPENSSL_free(conf->server2.npn_protocols); in ssl_test_extra_conf_free_data()
H A Dhandshake.h16 unsigned char *npn_protocols; member