Searched refs:protos_len (Results 1 – 5 of 5) sorted by relevance
/third_party/openssl/doc/man3/ |
D | SSL_CTX_set_alpn_select_cb.pod | 15 unsigned int protos_len); 17 unsigned int protos_len); 55 B<protos_len>.
|
/third_party/openssl/ssl/ |
D | ssl_lib.c | 2839 static int alpn_value_ok(const unsigned char *protos, unsigned int protos_len) in alpn_value_ok() argument 2843 if (protos_len < 2 || protos == NULL) in alpn_value_ok() 2846 for (idx = 0; idx < protos_len; idx += protos[idx] + 1) { in alpn_value_ok() 2850 return idx == protos_len; in alpn_value_ok() 2858 unsigned int protos_len) in SSL_CTX_set_alpn_protos() argument 2862 if (protos_len == 0 || protos == NULL) { in SSL_CTX_set_alpn_protos() 2869 if (!alpn_value_ok(protos, protos_len)) in SSL_CTX_set_alpn_protos() 2872 alpn = OPENSSL_memdup(protos, protos_len); in SSL_CTX_set_alpn_protos() 2879 ctx->ext.alpn_len = protos_len; in SSL_CTX_set_alpn_protos() 2890 unsigned int protos_len) in SSL_set_alpn_protos() argument [all …]
|
/third_party/libwebsockets/lib/tls/mbedtls/wrapper/include/openssl/ |
D | ssl.h | 333 int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, unsigned int protos_len);
|
/third_party/openssl/test/ |
D | ssltest_old.c | 301 size_t protos_len; in cb_server_alpn() local 304 protos = next_protos_parse(&protos_len, alpn_str); in cb_server_alpn() 312 ((unsigned char **)out, outlen, protos, protos_len, in, in cb_server_alpn()
|
/third_party/openssl/include/openssl/ |
D | ssl.h | 801 unsigned int protos_len); 803 unsigned int protos_len);
|