aboutsummaryrefslogtreecommitdiff
path: root/src/http/modules/ngx_http_ssl_module.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2021-12-02 13:59:09 +0300
committerSergey Kandaurov <pluknet@nginx.com>2021-12-02 13:59:09 +0300
commit7e7e552a10b9e5d0fd94b1a657061253ccac709e (patch)
treed2ef2e6f228f26c6aa1da91fbc5caaf8f47564d1 /src/http/modules/ngx_http_ssl_module.c
parent468641cbc30c67bef830d92b7a84044c6a09378e (diff)
downloadnginx-7e7e552a10b9e5d0fd94b1a657061253ccac709e.tar.gz
nginx-7e7e552a10b9e5d0fd94b1a657061253ccac709e.zip
HTTP/3: adjusted ALPN macro names to align with 61abb35bb8cf.
Diffstat (limited to 'src/http/modules/ngx_http_ssl_module.c')
-rw-r--r--src/http/modules/ngx_http_ssl_module.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c
index f2a85f12e..afeb68462 100644
--- a/src/http/modules/ngx_http_ssl_module.c
+++ b/src/http/modules/ngx_http_ssl_module.c
@@ -455,15 +455,15 @@ ngx_http_ssl_alpn_select(ngx_ssl_conn_t *ssl_conn, const unsigned char **out,
if (hc->addr_conf->quic) {
#if (NGX_HTTP_V3)
if (hc->addr_conf->http3) {
- srv = (unsigned char *) NGX_HTTP_V3_ALPN_ADVERTISE;
- srvlen = sizeof(NGX_HTTP_V3_ALPN_ADVERTISE) - 1;
+ srv = (unsigned char *) NGX_HTTP_V3_ALPN_PROTO;
+ srvlen = sizeof(NGX_HTTP_V3_ALPN_PROTO) - 1;
fmt = NGX_HTTP_V3_ALPN_DRAFT_FMT;
} else
#endif
{
- srv = (unsigned char *) NGX_HTTP_QUIC_ALPN_ADVERTISE;
- srvlen = sizeof(NGX_HTTP_QUIC_ALPN_ADVERTISE) - 1;
+ srv = (unsigned char *) NGX_HTTP_QUIC_ALPN_PROTO;
+ srvlen = sizeof(NGX_HTTP_QUIC_ALPN_PROTO) - 1;
fmt = NGX_HTTP_QUIC_ALPN_DRAFT_FMT;
}