kvspb / nginx-auth-ldap

LDAP authentication module for nginx
BSD 2-Clause "Simplified" License
731 stars 251 forks source link

Fails to build with OpenSSL 1.1 #176

Closed itsoli closed 6 years ago

itsoli commented 7 years ago

Trying to build against OpenSSL 1.1 is failing due to fact that the SSL struct in 1.1 is opaque.

ngx_http_auth_ldap_module.c: In function 'ngx_http_auth_ldap_ssl_handshake':
ngx_http_auth_ldap_module.c:1394:79: error: dereferencing pointer to incomplete type 'SSL {aka struct ssl_st}'
         int setcode = SSL_CTX_load_verify_locations(transport->ssl->connection->ctx,
                                                                               ^~
itsoli commented 7 years ago

https://github.com/kvspb/nginx-auth-ldap/pull/177