Skip to content

Commit

Permalink
fix(ssl): add const to ngx_lua_kong_ssl_x509_copy argument
Browse files Browse the repository at this point in the history
  • Loading branch information
fffonion committed Mar 19, 2024
1 parent f52a34c commit cdeea6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ngx_http_lua_kong_ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ ngx_http_lua_kong_set_upstream_ssl(ngx_http_request_t *r, ngx_connection_t *c)


static X509 *
ngx_http_lua_kong_x509_copy(X509 *in)
ngx_http_lua_kong_x509_copy(const X509 *in)
{
return X509_up_ref(in) == 0 ? NULL : in;
}
Expand Down

0 comments on commit cdeea6a

Please sign in to comment.