aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/ngx_core.h2
-rw-r--r--src/http/ngx_http.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_core.h b/src/core/ngx_core.h
index 256836546..88db7dc98 100644
--- a/src/core/ngx_core.h
+++ b/src/core/ngx_core.h
@@ -83,7 +83,7 @@ typedef void (*ngx_connection_handler_pt)(ngx_connection_t *c);
#include <ngx_resolver.h>
#if (NGX_OPENSSL)
#include <ngx_event_openssl.h>
-#if (NGX_OPENSSL_QUIC)
+#if (NGX_QUIC)
#include <ngx_event_quic.h>
#endif
#endif
diff --git a/src/http/ngx_http.c b/src/http/ngx_http.c
index e1604af60..c9aa3761b 100644
--- 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_http_core_srv_conf_t *cscf,
#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,