Skip to content

Commit f4803ff

Browse files
committed
style: address review issues
1 parent 6c25967 commit f4803ff

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/ngx_http_lua_ssl_certby.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,12 +1308,11 @@ ngx_ssl_verify_callback(int ok, X509_STORE_CTX *x509_store)
13081308

13091309

13101310
int
1311-
ngx_http_lua_ffi_ssl_verify_client(ngx_http_request_t *r,
1312-
int depth,
1313-
void *cdata, char **err)
1311+
ngx_http_lua_ffi_ssl_verify_client(ngx_http_request_t *r, int depth,
1312+
void *ca_certs, char **err)
13141313
{
13151314
ngx_ssl_conn_t *ssl_conn;
1316-
STACK_OF(X509) *chain = cdata;
1315+
STACK_OF(X509) *chain = ca_certs;
13171316
STACK_OF(X509_NAME) *name_chain = NULL;
13181317
X509 *x509 = NULL;
13191318
X509_NAME *subject = NULL;

0 commit comments

Comments
 (0)