Skip to content
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

SSL_get_client_random compile error #2391

Open
Konstantin74R opened this issue Jan 28, 2025 · 0 comments
Open

SSL_get_client_random compile error #2391

Konstantin74R opened this issue Jan 28, 2025 · 0 comments

Comments

@Konstantin74R
Copy link

Compile lua-nginx-modulev 0.10.27 for nginx 1.21.1, lua-resty-core-0.1.29
use

  openssl-libs-1.0.2k-26.el7_9.x86_64                                                                                                          
  openssl-devel-1.0.2k-26.el7_9.x86_64                                                                                                       
  openssl-1.0.2k-26.el7_9.x86_64
  libluajit-devel-2.1.0v20210510-2.el7.lnt.x86_64

Centos 7
and I have next problem

lua-nginx-module/src/ngx_http_lua_ssl_certby.c: In function 'ngx_http_lua_ffi_ssl_client_random':
lua-nginx-module/src/ngx_http_lua_ssl_certby.c:1651:5: error: implicit declaration of function 'SSL_get_client_random' [-Werror=implicit-function-declaration]
     *outlen = SSL_get_client_random(ssl_conn, out, *outlen);
     ^
cc1: all warnings being treated as errors
make[1]: *** [objs/addon/src/ngx_http_lua_ssl_certby.o] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/nginx'
make: *** [build] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.EGI3Jk (%build)

Compile as dynamic module.

Please help me resolve error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant