cc -c -pipe -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Wno-deprecated-declarations -g -DNDK_SET_VAR -DNDK_UPSTREAM_LIST -DNDK_SET_VAR -DNDK_SET_VAR -DNDK_SET_VAR -DLUA_DEFAULT_PATH='"/usr/local/openresty/lualib/?.lua;/usr/local/openresty/lualib/?/init.lua"' -DLUA_DEFAULT_CPATH='"/usr/local/openresty/lualib/?.so"' -DNDK_SET_VAR -I src/core -I src/event -I src/event/modules -I src/http -I src/http/modules -I src/os/unix -I ../ngx_devel_kit-0.2.19/objs -I objs/addon/ndk -I /data/src/ngx_openresty-1.7.2.1/build/luajit-root/usr/local/openresty/luajit/include/luajit-2.1 -I ../ngx_lua-0.9.10/src/api -I /data/src/ngx_openresty-1.7.2.1/openssl-1.0.2e/.openssl/include -I objs \
-o objs/src/event/ngx_event_openssl.o \
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.c:2511:55: error: too few arguments to function call, expected 5, have 4
if (X509_check_host(cert, name->data, name->len, 0) != 1) {
~~~~~~~~~~~~~~~ ^
/data/src/ngx_openresty-1.7.2.1/openssl-1.0.2e/.openssl/include/openssl/x509v3.h:741:1: note:
'X509_check_host' declared here
int X509_check_host(X509 *x, const char *chk, size_t chklen,
^
1 error generated.
make[2]: *** [objs/src/event/ngx_event_openssl.o] Error 1
make[1]: *** [build] Error 2
make: *** [all] Error 2