comparison src/event/ngx_event_openssl.c @ 8087:81b4326daac7

SSL: removed cast not needed after 5ffd76a9ccf3.
author Sergey Kandaurov <pluknet@nginx.com>
date Thu, 13 Oct 2022 16:18:56 +0400
parents 496241338da5
children 0b360747c74e 3be953161026
comparison
equal deleted inserted replaced
8086:496241338da5 8087:81b4326daac7
3892 3892
3893 len = i2d_SSL_SESSION(sess, NULL); 3893 len = i2d_SSL_SESSION(sess, NULL);
3894 3894
3895 /* do not cache too big session */ 3895 /* do not cache too big session */
3896 3896
3897 if (len > (int) NGX_SSL_MAX_SESSION_SIZE) { 3897 if (len > NGX_SSL_MAX_SESSION_SIZE) {
3898 return 0; 3898 return 0;
3899 } 3899 }
3900 3900
3901 p = buf; 3901 p = buf;
3902 i2d_SSL_SESSION(sess, &p); 3902 i2d_SSL_SESSION(sess, &p);