details:   https://hg.nginx.org/nginx/rev/81b4326daac7
branches:  
changeset: 8087:81b4326daac7
user:      Sergey Kandaurov <pluk...@nginx.com>
date:      Thu Oct 13 16:18:56 2022 +0400
description:
SSL: removed cast not needed after 5ffd76a9ccf3.

diffstat:

 src/event/ngx_event_openssl.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 496241338da5 -r 81b4326daac7 src/event/ngx_event_openssl.c
--- a/src/event/ngx_event_openssl.c     Wed Oct 12 20:14:57 2022 +0300
+++ b/src/event/ngx_event_openssl.c     Thu Oct 13 16:18:56 2022 +0400
@@ -3894,7 +3894,7 @@ ngx_ssl_new_session(ngx_ssl_conn_t *ssl_
 
     /* do not cache too big session */
 
-    if (len > (int) NGX_SSL_MAX_SESSION_SIZE) {
+    if (len > NGX_SSL_MAX_SESSION_SIZE) {
         return 0;
     }
 
_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-le...@nginx.org

Reply via email to