]> git.kaiwu.me - nginx.git/commitdiff
SSL: fixed compilation without QUIC after 0d2b2664b41c.
authorRoman Arutyunyan <arut@nginx.com>
Wed, 22 Jul 2020 10:34:48 +0000 (13:34 +0300)
committerRoman Arutyunyan <arut@nginx.com>
Wed, 22 Jul 2020 10:34:48 +0000 (13:34 +0300)
src/event/ngx_event_openssl.c

index a5188dc0e1de05b17a69eb75dc46506198a8af25..dc0861ce99589cd2a029758952e84f9db155ba60 100644 (file)
@@ -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);