-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ngx_http_lua_module.c SSL_CTX_sess_set_get_cb incompatible argument #852
Comments
@qingboy578 I don't think OpenSSL 1.1.x is supported by this module yet. See #757 for more details. |
@qingboy578 The latest version of OpenSSL that is officially supported is 1.0.2h. |
@agentzh thanks for your answer, by the way,is there any plan to support OpenSSL 1.1.x? |
@qingboy578 Yes, there is such plan. |
+1 to this issue. |
OpenSSL 1.0.2j is released with the security fixes. So this is no longer urgent. OpenSSL 1.1 changes its internal infrastructure a lot so it deserves much longer time of API porting and testing. |
Do you have an ETA on a fix? |
Issue still exists with the latest git repo :( |
.../lua-nginx-module/src/ngx_http_lua_module.c:1014:37: error: passing argument 2 of ‘SSL_CTX_sess_set_get_cb’ from incompatible pointer type [-Werror] |
@sunnybear Just use the OpenSSL 1.0.2 series instead. That series is still updating and is well tested and mature. |
+1 to this issue. |
This has been fixed in master for long. And it is already included in tagged releases 1.10.12 and 1.10.13, as well as OpenResty 1.13.6.2 RC1. |
when i install nginx-1.11.3 with openssl-1.1.0, lua-nginx-module-0.10.6, during the make phase, an error has occurred, how to deal with this error?
export LUAJIT_LIB=$target_path/luajit/lib
export LUAJIT_INC=$target_path/luajit/include/luajit-2.0
cd $src_path/nginx-1.11.3
./configure
--prefix=$target_path/nginx
--with-ld-opt="-Wl,--rpath='$$ORIGIN/../../luajit/lib'"
--with-http_gzip_static_module
--with-http_stub_status_module
--with-http_realip_module
--with-http_ssl_module
--with-openssl=$src_path/openssl-1.1.0
--with-pcre=$src_path/pcre-8.38
--with-zlib=$src_path/zlib-1.2.8
--add-module=$src_path/ngx_devel_kit-0.2.19
--add-module=$src_path/lua-nginx-module-0.10.6
make
cc1: warnings being treated as errors
/home/nginx/source/nginx/src/lua-nginx-module-0.10.6/src/ngx_http_lua_module.c: In function ‘ngx_http_lua_merge_srv_conf’:
/home/nginx/source/nginx/src/lua-nginx-module-0.10.6/src/ngx_http_lua_module.c:1004: error: passing argument 2 of ‘SSL_CTX_sess_set_get_cb’ from incompatible pointer type
make[1]: *** [objs/addon/src/ngx_http_lua_module.o] Error 1
make[1]: Leaving directory `/home/nginx/source/nginx/src/nginx-1.11.3'
make: *** [build] Error 2
The text was updated successfully, but these errors were encountered: