# HG changeset patch # User Ruslan Ermilov # Date 1631610553 -10800 # Node ID 7603284f7af5470dca7b31293376298cb0ef1a1f # Parent 8fc9c7f2c5334373b89f4515c0db574fe4261617 Removed NGX_OPENSSL_QUIC macro, NGX_QUIC is enough. diff --git a/auto/lib/openssl/conf b/auto/lib/openssl/conf --- a/auto/lib/openssl/conf +++ b/auto/lib/openssl/conf @@ -145,7 +145,7 @@ fi if [ $USE_OPENSSL_QUIC = YES ]; then ngx_feature="OpenSSL QUIC support" - ngx_feature_name="NGX_OPENSSL_QUIC" + ngx_feature_name="NGX_QUIC" ngx_feature_run=no ngx_feature_incs="#include " ngx_feature_path= @@ -165,8 +165,6 @@ with nginx by using --with-openssl= #if (NGX_OPENSSL) #include -#if (NGX_OPENSSL_QUIC) +#if (NGX_QUIC) #include #endif #endif diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -1372,7 +1372,7 @@ ngx_http_add_address(ngx_conf_t *cf, ngx #endif -#if (NGX_HTTP_QUIC && !defined NGX_OPENSSL_QUIC) +#if (NGX_HTTP_QUIC && !defined NGX_QUIC) if (lsopt->quic) { ngx_conf_log_error(NGX_LOG_WARN, cf, 0,