Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/tls/mbedtls/wrapper/library/
Dssl_lib.c262 if (ctx->alpn_protos) { in SSL_CTX_free()
263 ssl_mem_free((void *)ctx->alpn_protos); in SSL_CTX_free()
264 ctx->alpn_protos = NULL; in SSL_CTX_free()
379 if (ssl->alpn_protos) { in SSL_free()
380 ssl_mem_free((void *)ssl->alpn_protos); in SSL_free()
381 ssl->alpn_protos = NULL; in SSL_free()
1169 char **alpn_protos; in _openssl_alpn_to_mbedtls() local
1195 alpn_protos = ssl_mem_zalloc((unsigned int)(count + 1) * sizeof(char *) + ac->len + 1); in _openssl_alpn_to_mbedtls()
1196 if (!alpn_protos) in _openssl_alpn_to_mbedtls()
1199 *palpn_protos = alpn_protos; in _openssl_alpn_to_mbedtls()
[all …]
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/internal/
Dssl_types.h184 const char **alpn_protos; member
221 const char **alpn_protos; member
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/platform/
Dssl_pm.c880 if (ssl->alpn_protos) { in _ssl_set_alpn_list()
881 if (mbedtls_ssl_conf_alpn_protocols(&((struct ssl_pm *)(ssl->ssl_pm))->conf, ssl->alpn_protos)) in _ssl_set_alpn_list()
886 if (!ssl->ctx->alpn_protos) in _ssl_set_alpn_list()
888 …if (mbedtls_ssl_conf_alpn_protocols(&((struct ssl_pm *)(ssl->ssl_pm))->conf, ssl->ctx->alpn_protos in _ssl_set_alpn_list()
/third_party/openssl/test/helpers/
Dhandshake.c629 unsigned char *alpn_protos = NULL; in configure_handshake_ctx() local
633 &alpn_protos, &alpn_protos_len)) in configure_handshake_ctx()
635 || !TEST_int_eq(SSL_CTX_set_alpn_protos(client_ctx, alpn_protos, in configure_handshake_ctx()
638 OPENSSL_free(alpn_protos); in configure_handshake_ctx()
/third_party/node/src/crypto/
Dcrypto_tls.cc265 const std::vector<unsigned char>& alpn_protos = w->alpn_protos_; in SelectALPNCallback() local
267 if (alpn_protos.empty()) return SSL_TLSEXT_ERR_NOACK; in SelectALPNCallback()
271 alpn_protos.data(), in SelectALPNCallback()
272 alpn_protos.size(), in SelectALPNCallback()