SSL: fixed compilation without QUIC after 0d2b2664b41c.

This commit is contained in:
Roman Arutyunyan 2020-07-22 13:34:48 +03:00
parent cdc0d61ea0
commit 5468904e3b

View 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);