From 5468904e3be8d1f85ba51de51e01747fa02ea6d7 Mon Sep 17 00:00:00 2001 From: Roman Arutyunyan Date: Wed, 22 Jul 2020 13:34:48 +0300 Subject: [PATCH] SSL: fixed compilation without QUIC after 0d2b2664b41c. --- src/event/ngx_event_openssl.c | 2 ++ 1 file changed, 2 insertions(+) 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);