Home
last modified time | relevance | path

Searched refs:alpn (Results 1 – 6 of 6) sorted by relevance

/lighttpd1.4/src/
H A Dmod_nss.c192 uint8_t alpn; member
1351 static const SECItem alpn[] = { in mod_nss_alpn_select_cb() local
1360 for (unsigned int j = 0; j < sizeof(alpn)/sizeof(*alpn); ++j) { in mod_nss_alpn_select_cb()
1362 && 0 == PORT_Memcmp(protos+i+1, alpn[j].data, alpn[j].len)) { in mod_nss_alpn_select_cb()
1364 if (protoMaxOut < alpn[j].len) { in mod_nss_alpn_select_cb()
1392 memcpy(protoOut, alpn[j].data, alpn[j].len); in mod_nss_alpn_select_cb()
1393 *protoOutLen = alpn[j].len; in mod_nss_alpn_select_cb()
1445 if (hctx->alpn == MOD_NSS_ALPN_ACME_TLS_1) { in mod_nss_SNI()
2268 if (hctx->alpn && hctx->handshake) { in connection_read_cq_ssl()
2269 if (hctx->alpn == MOD_NSS_ALPN_H2) { in connection_read_cq_ssl()
[all …]
H A Dmod_mbedtls.c197 unsigned short alpn; member
759 if (hctx->alpn == MOD_MBEDTLS_ALPN_ACME_TLS_1) in mod_mbedtls_SNI()
1220 hctx->alpn = proto; in mod_mbedtls_alpn_selected()
1238 hctx->alpn = MOD_MBEDTLS_ALPN_H2; in mod_mbedtls_alpn_select_cb()
1247 hctx->alpn = MOD_MBEDTLS_ALPN_HTTP11; in mod_mbedtls_alpn_select_cb()
1284 if (NULL != alpn) { in mod_mbedtls_cert_cb()
1285 rc = mod_mbedtls_alpn_selected(hctx, alpn); in mod_mbedtls_cert_cb()
1298 else if (hctx->alpn == MOD_MBEDTLS_ALPN_ACME_TLS_1) in mod_mbedtls_cert_cb()
2161 if (NULL != alpn) in mod_mbedtls_ssl_handshake()
2208 if (hctx->alpn == MOD_MBEDTLS_ALPN_H2) { in mod_mbedtls_ssl_handshake()
[all …]
H A Dmod_gnutls.c149 uint8_t alpn; member
1421 hctx->alpn = MOD_GNUTLS_ALPN_H2; in mod_gnutls_ALPN()
1430 hctx->alpn = MOD_GNUTLS_ALPN_HTTP11; in mod_gnutls_ALPN()
1434 hctx->alpn = MOD_GNUTLS_ALPN_HTTP10; in mod_gnutls_ALPN()
1443 hctx->alpn = MOD_GNUTLS_ALPN_ACME_TLS_1; in mod_gnutls_ALPN()
1538 if (hctx->alpn == MOD_GNUTLS_ALPN_ACME_TLS_1) in mod_gnutls_client_hello_hook()
1578 if (hctx->alpn == MOD_GNUTLS_ALPN_ACME_TLS_1) in mod_gnutls_client_hello_hook()
2522 if (hctx->alpn == MOD_GNUTLS_ALPN_H2) { in mod_gnutls_ssl_handshake()
2531 else if (hctx->alpn == MOD_GNUTLS_ALPN_ACME_TLS_1) { in mod_gnutls_ssl_handshake()
2536 hctx->alpn = 0; in mod_gnutls_ssl_handshake()
H A Dmod_wolfssl.c200 unsigned short alpn; member
1346 if (hctx->alpn == MOD_OPENSSL_ALPN_ACME_TLS_1) in network_ssl_servername_callback()
1875 hctx->alpn = proto; in mod_openssl_alpn_select_cb()
2865 if (hctx->alpn) { in connection_read_cq_ssl()
2866 if (hctx->alpn == MOD_OPENSSL_ALPN_H2) { in connection_read_cq_ssl()
2870 else if (hctx->alpn == MOD_OPENSSL_ALPN_ACME_TLS_1) { in connection_read_cq_ssl()
2879 hctx->alpn = 0; in connection_read_cq_ssl()
H A Dmod_openssl.c179 unsigned short alpn; member
1067 if (hctx->alpn == MOD_OPENSSL_ALPN_ACME_TLS_1) return 1; in mod_openssl_cert_cb()
1922 hctx->alpn = proto; in mod_openssl_alpn_select_cb()
3160 if (hctx->alpn) { in connection_read_cq_ssl()
3161 if (hctx->alpn == MOD_OPENSSL_ALPN_H2) { in connection_read_cq_ssl()
3170 else if (hctx->alpn == MOD_OPENSSL_ALPN_ACME_TLS_1) { in connection_read_cq_ssl()
3179 hctx->alpn = 0; in connection_read_cq_ssl()
/lighttpd1.4/
H A DNEWS1706 * [mod_wolfssl] need to build --enable-alpn for ALPN