Lines Matching refs:alpn
197 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()
1251 hctx->alpn = MOD_MBEDTLS_ALPN_HTTP10; in mod_mbedtls_alpn_select_cb()
1258 hctx->alpn = MOD_MBEDTLS_ALPN_ACME_TLS_1; in mod_mbedtls_alpn_select_cb()
1283 const char *alpn = mbedtls_ssl_get_alpn_protocol(&hctx->ssl); in mod_mbedtls_cert_cb() local
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()
1304 && hctx->alpn != MOD_MBEDTLS_ALPN_ACME_TLS_1) { /*(not "acme-tls/1")*/ in mod_mbedtls_cert_cb()
2160 const char *alpn = mbedtls_ssl_get_alpn_protocol(&hctx->ssl); in mod_mbedtls_ssl_handshake() local
2161 if (NULL != alpn) in mod_mbedtls_ssl_handshake()
2162 rc = mod_mbedtls_alpn_selected(hctx, alpn); in mod_mbedtls_ssl_handshake()
2170 && hctx->alpn != MOD_MBEDTLS_ALPN_ACME_TLS_1) { /*(not "acme-tls/1")*/ in mod_mbedtls_ssl_handshake()
2208 if (hctx->alpn == MOD_MBEDTLS_ALPN_H2) { in mod_mbedtls_ssl_handshake()
2212 else if (hctx->alpn == MOD_MBEDTLS_ALPN_ACME_TLS_1) { in mod_mbedtls_ssl_handshake()
2217 hctx->alpn = 0; in mod_mbedtls_ssl_handshake()