Mercurial > hg > nginx-quic
comparison src/event/ngx_event_openssl.c @ 8003:b0953b020be7 quic
SSL: fixed compilation without QUIC after 0d2b2664b41c.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 22 Jul 2020 13:34:48 +0300 |
parents | 001ec7fce567 |
children | 532fe796b0e2 |
comparison
equal
deleted
inserted
replaced
8002:d41a0cafacff | 8003:b0953b020be7 |
---|---|
2775 ngx_ssl_shutdown(ngx_connection_t *c) | 2775 ngx_ssl_shutdown(ngx_connection_t *c) |
2776 { | 2776 { |
2777 int n, sslerr, mode; | 2777 int n, sslerr, mode; |
2778 ngx_err_t err; | 2778 ngx_err_t err; |
2779 | 2779 |
2780 #if (NGX_QUIC) | |
2780 if (c->qs) { | 2781 if (c->qs) { |
2781 /* QUIC streams inherit SSL object */ | 2782 /* QUIC streams inherit SSL object */ |
2782 return NGX_OK; | 2783 return NGX_OK; |
2783 } | 2784 } |
2785 #endif | |
2784 | 2786 |
2785 ngx_ssl_ocsp_cleanup(c); | 2787 ngx_ssl_ocsp_cleanup(c); |
2786 | 2788 |
2787 if (SSL_in_init(c->ssl->connection)) { | 2789 if (SSL_in_init(c->ssl->connection)) { |
2788 /* | 2790 /* |