Skip to content

Commit

Permalink
bugfix : comparison of integer expressions of different signedness.
Browse files Browse the repository at this point in the history
Signed-off-by: lijunlong <[email protected]>
  • Loading branch information
usrtax authored Mar 10, 2023
1 parent 1953052 commit 9bee7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngx_http_lua_socket_tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1744,7 +1744,7 @@ ngx_http_lua_ffi_socket_tcp_sslhandshake(ngx_http_request_t *r,

/* read rest of the chain */

for (i = 1; i < sk_X509_num(chain); i++) {
for (i = 1; i < (ngx_int_t) sk_X509_num(chain); i++) {
x509 = sk_X509_value(chain, i);
if (x509 == NULL) {
ERR_clear_error();
Expand Down

0 comments on commit 9bee7e7

Please sign in to comment.