Searched refs:protos (Results 1 – 5 of 5) sorted by relevance
/openssl/doc/man3/ |
H A D | SSL_CTX_set_alpn_select_cb.pod | 14 int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, 16 int SSL_set_alpn_protos(SSL *ssl, const unsigned char *protos, 53 set the list of protocols available to be negotiated. The B<protos> must be in 54 protocol-list format, described below. The length of B<protos> is specified in
|
/openssl/test/ |
H A D | ssl_old_test.c | 291 unsigned char *protos; in cb_server_alpn() local 295 protos = next_protos_parse(&protos_len, alpn_str); in cb_server_alpn() 296 if (protos == NULL) { in cb_server_alpn() 303 ((unsigned char **)out, outlen, protos, protos_len, in, in cb_server_alpn() 305 OPENSSL_free(protos); in cb_server_alpn() 316 OPENSSL_free(protos); in cb_server_alpn() 322 OPENSSL_free(protos); in cb_server_alpn()
|
/openssl/test/helpers/ |
H A D | handshake.c | 345 static int parse_protos(const char *protos, unsigned char **out, size_t *outlen) in parse_protos() argument 349 len = strlen(protos); in parse_protos() 368 memcpy(*out + 1, protos, len); in parse_protos()
|
/openssl/ssl/ |
H A D | ssl_lib.c | 3674 if (protos_len < 2 || protos == NULL) in alpn_value_ok() 3677 for (idx = 0; idx < protos_len; idx += protos[idx] + 1) { in alpn_value_ok() 3678 if (protos[idx] == 0) in alpn_value_ok() 3688 int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, in SSL_CTX_set_alpn_protos() argument 3693 if (protos_len == 0 || protos == NULL) { in SSL_CTX_set_alpn_protos() 3700 if (!alpn_value_ok(protos, protos_len)) in SSL_CTX_set_alpn_protos() 3703 alpn = OPENSSL_memdup(protos, protos_len); in SSL_CTX_set_alpn_protos() 3718 int SSL_set_alpn_protos(SSL *ssl, const unsigned char *protos, in SSL_set_alpn_protos() argument 3727 if (protos_len == 0 || protos == NULL) { in SSL_set_alpn_protos() 3734 if (!alpn_value_ok(protos, protos_len)) in SSL_set_alpn_protos() [all …]
|
/openssl/include/openssl/ |
H A D | ssl.h.in | 812 __owur int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const unsigned char *protos, 814 __owur int SSL_set_alpn_protos(SSL *ssl, const unsigned char *protos,
|
Completed in 76 milliseconds