Lines Matching full:alpn
5 This change adds support for ALPN[1] in OpenSSL. ALPN is the IETF
6 blessed version of NPN and we'll be supporting both ALPN and NPN for
28 + BIO_printf(bio_err," -alpn arg - enable ALPN extension, considering named protocols supported (comma-separated list)\n");
44 + else if (strcmp(*argv,"-alpn") == 0)
65 + unsigned char *alpn = next_protos_parse(&alpn_len, alpn_in);
67 + if (alpn == NULL)
69 + BIO_printf(bio_err, "Error parsing -alpn argument\n");
72 + SSL_CTX_set_alpn_protos(ctx, alpn, alpn_len);
97 + BIO_printf(bio, "ALPN protocol: ");
102 + BIO_printf(bio, "No ALPN negotiated\n");
148 + /* ALPN information
149 + * (we are in the process of transitioning from NPN to ALPN.) */
217 + /* ALPN information
218 + * (we are in the process of transitioning from NPN to ALPN.) */
220 + /* In a server these point to the selected ALPN protocol after the
266 +/* SSL_CTX_set_alpn_protos sets the ALPN protocol list on |ctx| to |protos|.
286 +/* SSL_set_alpn_protos sets the ALPN protocol list on |ssl| to |protos|.
307 + * during ClientHello processing in order to select an ALPN protocol from the
322 +/* SSL_get0_alpn_selected gets the selected ALPN protocol (if any) from |ssl|.
398 +/* tls1_alpn_handle_client_hello is called to process the ALPN extension in a
504 + /* ALPN takes precedence over NPN. */