/openssl/test/ssl-tests/ |
H A D | 09-alpn.cnf | 5 test-0 = 0-alpn-simple 13 test-8 = 8-alpn-selected-sni-server-supports-alpn 14 test-9 = 9-alpn-selected-sni-server-does-not-support-alpn 25 [0-alpn-simple] 290 [8-alpn-selected-sni-server-supports-alpn] 293 [8-alpn-selected-sni-server-supports-alpn-ssl] 298 [8-alpn-selected-sni-server-supports-alpn-server] 303 [8-alpn-selected-sni-server-supports-alpn-server2] 308 [8-alpn-selected-sni-server-supports-alpn-client] 333 [9-alpn-selected-sni-server-does-not-support-alpn] [all …]
|
H A D | 09-alpn.cnf.in | 20 name => "alpn-simple", 36 name => "alpn-server-finds-match", 68 name => "alpn-alert-on-mismatch", 85 name => "alpn-no-server-support", 97 name => "alpn-no-client-support", 133 name => "alpn-with-sni-context-switch", 157 name => "alpn-selected-sni-server-supports-alpn", 180 name => "alpn-selected-sni-server-does-not-support-alpn", 200 name => "alpn-simple-resumption", 326 name => "alpn-empty-client-list", [all …]
|
H A D | 08-npn.cnf | 17 test-12 = 12-alpn-preferred-over-npn 18 test-13 = 13-sni-npn-preferred-over-alpn 450 [12-alpn-preferred-over-npn] 453 [12-alpn-preferred-over-npn-ssl] 457 [12-alpn-preferred-over-npn-server] 462 [12-alpn-preferred-over-npn-client] 484 [13-sni-npn-preferred-over-alpn] 487 [13-sni-npn-preferred-over-alpn-ssl] 492 [13-sni-npn-preferred-over-alpn-server] 502 [13-sni-npn-preferred-over-alpn-client] [all …]
|
H A D | 08-npn.cnf.in | 244 name => "alpn-preferred-over-npn", 264 name => "sni-npn-preferred-over-alpn", 425 name => "alpn-preferred-over-npn-resumption", 452 name => "npn-used-if-alpn-not-supported-resumption",
|
/openssl/doc/man3/ |
H A D | SSL_SESSION_get0_hostname.pod | 19 const unsigned char **alpn, 21 int SSL_SESSION_set1_alpn_selected(SSL_SESSION *s, const unsigned char *alpn, 39 session and its associated length in bytes. The returned value of B<*alpn> is a 43 value in B<alpn> which should be of length B<len> bytes. A copy of the input 45 B<alpn>.
|
/openssl/doc/designs/ddd/ |
H A D | ddd-01-conn-blocking.c | 55 static const unsigned char alpn[] = {5, 'd', 'u', 'm', 'm', 'y'}; in new_conn() local 87 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) { in new_conn()
|
H A D | ddd-03-fd-blocking.c | 54 static const unsigned char alpn[] = {5, 'd', 'u', 'm', 'm', 'y'}; in new_conn() local 80 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) { in new_conn()
|
H A D | ddd-02-conn-nonblocking-threads.c | 68 static const unsigned char alpn[] = {5, 'd', 'u', 'm', 'm', 'y'}; in new_conn() local 119 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) { in new_conn()
|
H A D | ddd-02-conn-nonblocking.c | 68 static const unsigned char alpn[] = {5, 'd', 'u', 'm', 'm', 'y'}; in new_conn() local 132 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) { in new_conn()
|
H A D | ddd-04-fd-nonblocking.c | 61 static const unsigned char alpn[] = {5, 'd', 'u', 'm', 'm', 'y'}; in new_conn() local 96 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) { in new_conn()
|
H A D | ddd-05-mem-nonblocking.c | 66 static const unsigned char alpn[] = {5, 'd', 'u', 'm', 'm', 'y'}; local 120 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) {
|
H A D | ddd-06-mem-uv.c | 500 static const unsigned char alpn[] = {5, 'd', 'u', 'm', 'm', 'y'}; in setup_ssl() local 535 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn))) { in setup_ssl()
|
/openssl/util/ |
H A D | quicserver.c | 161 unsigned char alpn[] = { 8, 'h', 't', 't', 'p', '/', '1', '.', '0' }; in main() local 203 tserver_args.alpn = alpn; in main() 204 tserver_args.alpnlen = sizeof(alpn); in main()
|
/openssl/demos/guide/ |
H A D | quic-client-block.c | 124 unsigned char alpn[] = { 8, 'h', 't', 't', 'p', '/', '1', '.', '0' }; in main() local 213 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn)) != 0) { in main()
|
H A D | quic-client-non-block.c | 231 unsigned char alpn[] = { 8, 'h', 't', 't', 'p', '/', '1', '.', '0' }; in main() local 322 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn)) != 0) { in main()
|
H A D | quic-multi-stream.c | 142 unsigned char alpn[] = { 8, 'h', 't', 't', 'p', '/', '1', '.', '0' }; in main() local 242 if (SSL_set_alpn_protos(ssl, alpn, sizeof(alpn)) != 0) { in main()
|
H A D | quic-hq-interop.c | 688 unsigned char alpn[] = {10, 'h', 'q', '-', 'i', 'n', 't', 'e', 'r', 'o', 'p'}; in setup_connection() local 779 if (SSL_set_alpn_protos(*ssl, alpn, sizeof(alpn)) != 0) { in setup_connection()
|
H A D | README.md | 78 demo, but is specifically constructed to use the hq-interop alpn for the 88 2. Negotiates the hq-interop alpn
|
/openssl/test/ |
H A D | quic_client_test.c | 44 unsigned char alpn[] = { 8, 'h', 't', 't', 'p', '/', '0', '.', '9' }; in test_quic_client_ex() local 81 if (!TEST_false(SSL_set_alpn_protos(c_ssl, alpn, sizeof(alpn)))) in test_quic_client_ex()
|
H A D | quic_tserver_test.c | 75 unsigned char alpn[] = { 8, 'o', 's', 's', 'l', 't', 'e', 's', 't' }; in do_test() local 121 tserver_args.alpn = NULL; in do_test() 173 if (!TEST_false(SSL_set_alpn_protos(c_ssl, alpn, sizeof(alpn)))) in do_test()
|
/openssl/ssl/quic/ |
H A D | quic_tserver.c | 61 const unsigned char *alpn; in alpn_select_cb() local 64 if (srv->args.alpn == NULL) { in alpn_select_cb() 65 alpn = alpndeflt; in alpn_select_cb() 68 alpn = srv->args.alpn; in alpn_select_cb() 72 if (SSL_select_next_proto((unsigned char **)out, outlen, alpn, alpnlen, in alpn_select_cb()
|
H A D | quic_tls.c | 704 const unsigned char *alpn; in ossl_quic_tls_tick() local 748 if (sc->ext.alpn == NULL || sc->ext.alpn_len == 0) in ossl_quic_tls_tick() 817 SSL_get0_alpn_selected(qtls->args.s, &alpn, &alpnlen); in ossl_quic_tls_tick() 818 if (alpn == NULL || alpnlen == 0) in ossl_quic_tls_tick()
|
/openssl/demos/http3/ |
H A D | ossl-nghttp3.c | 243 static const unsigned char alpn[] = {2, 'h', '3'}; in OSSL_DEMO_H3_CONN_new_for_conn() local 273 if (SSL_set_alpn_protos(conn->qconn, alpn, sizeof(alpn))) { in OSSL_DEMO_H3_CONN_new_for_conn()
|
/openssl/include/internal/ |
H A D | quic_tserver.h | 44 const unsigned char *alpn; member
|
/openssl/ |
H A D | README-QUIC.md | 59 $ openssl s_client -quic -alpn myalpn -connect host:port 80 …/www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids
|