Open NativeDevMan opened 7 years ago
@pavlusha23 Patches welcome :)
See my pull request: https://github.com/openresty/encrypted-session-nginx-module/pull/13
openssl 1.1.0 support would be really nice!
Data point: Issue persists with 1.1.0g
-o objs/addon/src/ngx_http_encrypted_session_cipher.o \
../encrypted-session-nginx-module-0.07/src/ngx_http_encrypted_session_cipher.c
../encrypted-session-nginx-module-0.07/src/ngx_http_encrypted_session_cipher.c: In function 'ngx_http_encrypted_session_aes_mac_encrypt':
../encrypted-session-nginx-module-0.07/src/ngx_http_encrypted_session_cipher.c:29:30: error: storage size of 'ctx' isn't known
EVP_CIPHER_CTX ctx;
^
../encrypted-session-nginx-module-0.07/src/ngx_http_encrypted_session_cipher.c:29:30: warning: unused variable 'ctx' [-Wunused-variable]
../encrypted-session-nginx-module-0.07/src/ngx_http_encrypted_session_cipher.c: In function 'ngx_http_encrypted_session_aes_mac_decrypt':
../encrypted-session-nginx-module-0.07/src/ngx_http_encrypted_session_cipher.c:136:30: error: storage size of 'ctx' isn't known
EVP_CIPHER_CTX ctx;
^
../encrypted-session-nginx-module-0.07/src/ngx_http_encrypted_session_cipher.c:136:30: warning: unused variable 'ctx' [-Wunused-variable]
make[2]: *** [objs/addon/src/ngx_http_encrypted_session_cipher.o] Error 1
objs/Makefile:2397: recipe for target 'objs/addon/src/ngx_http_encrypted_session_cipher.o' failed
@27Bslash6 As I said above, you're welcome to contribute a patch, otherwise you can just use OpenSSL 1.0.2 series or older series.
A new release tag of this module was already added a few days ago and the new version is already included in OpenResty 1.13.6.2 RC1: https://groups.google.com/d/msg/openresty-en/bTfqTjshcX4/uP8qF0EpAgAJ
Encrypted-session-nginx-module is not compatible with OpenSSL 1.1.0c. Please, fix it.