From a7a3a8cc1778fee8597b34ce5265453ceda81b08 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Thu, 13 Jan 2022 15:57:15 +0300 Subject: [PATCH] HTTP/3: removed useless warning regarding OpenSSL library. After 0e6528551f26, it became impossible to run into this path. --- src/http/ngx_http.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c index 4886a88bf..082a849a2 100644 --- a/src/http/ngx_http.c +++ b/src/http/ngx_http.c @@ -1360,17 +1360,6 @@ ngx_http_add_address(ngx_conf_t *cf, ngx_http_core_srv_conf_t *cscf, &lsopt->addr_text); } -#endif - -#if (NGX_HTTP_V3 && !defined NGX_QUIC) - - if (lsopt->http3) { - ngx_conf_log_error(NGX_LOG_WARN, cf, 0, - "nginx was built with OpenSSL that lacks QUIC " - "support, HTTP/3 is not enabled for %V", - &lsopt->addr_text); - } - #endif addr = ngx_array_push(&port->addrs);