From be9d072dcedef36821ff43538a2db2e9f9fa4420 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Thu, 13 Oct 2022 16:18:56 +0400 Subject: [PATCH] SSL: removed cast not needed after 5ffd76a9ccf3. --- src/event/ngx_event_openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event/ngx_event_openssl.c b/src/event/ngx_event_openssl.c index 6e6129734..3be64b6c2 100644 --- a/src/event/ngx_event_openssl.c +++ b/src/event/ngx_event_openssl.c @@ -3894,7 +3894,7 @@ ngx_ssl_new_session(ngx_ssl_conn_t *ssl_conn, ngx_ssl_session_t *sess) /* do not cache too big session */ - if (len > (int) NGX_SSL_MAX_SESSION_SIZE) { + if (len > NGX_SSL_MAX_SESSION_SIZE) { return 0; }