From: Roman Arutyunyan Date: Wed, 22 Jul 2020 10:34:48 +0000 (+0300) Subject: SSL: fixed compilation without QUIC after 0d2b2664b41c. X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=5468904e3be8d1f85ba51de51e01747fa02ea6d7;p=nginx.git SSL: fixed compilation without QUIC after 0d2b2664b41c. --- diff --git a/src/event/ngx_event_openssl.c b/src/event/ngx_event_openssl.c index a5188dc0e..dc0861ce9 100644 --- a/src/event/ngx_event_openssl.c +++ b/src/event/ngx_event_openssl.c @@ -2777,10 +2777,12 @@ ngx_ssl_shutdown(ngx_connection_t *c) int n, sslerr, mode; ngx_err_t err; +#if (NGX_QUIC) if (c->qs) { /* QUIC streams inherit SSL object */ return NGX_OK; } +#endif ngx_ssl_ocsp_cleanup(c);