Skip to content

Commit acfcc2b

Browse files
reject-in-handshake patch
1 parent efe8b3f commit acfcc2b

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

patch/1.27.1.1/ngx_lua-reject-in-handshake.patch

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,6 @@ diff --git src/ngx_http_lua_ssl_certby.c src/ngx_http_lua_ssl_certby.c
22
index b8e70dd..44a1dcd 100644
33
--- src/ngx_http_lua_ssl_certby.c
44
+++ src/ngx_http_lua_ssl_certby.c
5-
@@ -1358,9 +1358,16 @@ ngx_http_lua_ssl_verify_callback(int ok, X509_STORE_CTX *x509_store)
6-
#endif
7-
8-
9-
+static int
10-
+ngx_http_lua_ssl_verify_reject_in_handshake_callback(int ok, X509_STORE_CTX *x509_store)
11-
+{
12-
+ return ok;
13-
+}
14-
+
15-
+
16-
int
17-
ngx_http_lua_ffi_ssl_verify_client(ngx_http_request_t *r, void *ca_certs,
18-
- int depth, char **err)
19-
+ int depth, int reject_in_handshake, char **err)
20-
{
21-
#ifdef LIBRESSL_VERSION_NUMBER
22-
235
@@ -1407,7 +1414,14 @@ ngx_http_lua_ffi_ssl_verify_client(ngx_http_request_t *r, void *ca_certs,
246

257
/* enable verify */

0 commit comments

Comments
 (0)