summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic_ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/event/quic/ngx_event_quic_ssl.c')
-rw-r--r--src/event/quic/ngx_event_quic_ssl.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/event/quic/ngx_event_quic_ssl.c b/src/event/quic/ngx_event_quic_ssl.c
index 6e2377eac..bcee112e0 100644
--- a/src/event/quic/ngx_event_quic_ssl.c
+++ b/src/event/quic/ngx_event_quic_ssl.c
@@ -361,7 +361,6 @@ static ngx_int_t
ngx_quic_crypto_input(ngx_connection_t *c, ngx_chain_t *data)
{
int n, sslerr;
- ngx_int_t rc;
ngx_buf_t *b;
ngx_chain_t *cl;
ngx_ssl_conn_t *ssl_conn;
@@ -463,19 +462,10 @@ ngx_quic_crypto_input(ngx_connection_t *c, ngx_chain_t *data)
return NGX_ERROR;
}
- rc = ngx_ssl_ocsp_validate(c);
-
- if (rc == NGX_ERROR) {
+ if (ngx_quic_init_streams(c) != NGX_OK) {
return NGX_ERROR;
}
- if (rc == NGX_AGAIN) {
- c->ssl->handler = ngx_quic_init_streams;
- return NGX_OK;
- }
-
- ngx_quic_init_streams(c);
-
return NGX_OK;
}