encrypted-session-nginx-module icon indicating copy to clipboard operation
encrypted-session-nginx-module copied to clipboard

Cannot compile with OpenSSL 1.1.0c

Open NativeDevMan opened this issue 8 years ago • 6 comments
trafficstars

Encrypted-session-nginx-module is not compatible with OpenSSL 1.1.0c. Please, fix it.

NativeDevMan avatar Dec 19 '16 23:12 NativeDevMan

@pavlusha23 Patches welcome :)

agentzh avatar Dec 20 '16 01:12 agentzh

See my pull request: https://github.com/openresty/encrypted-session-nginx-module/pull/13

S4mw1s3 avatar Dec 23 '16 11:12 S4mw1s3

openssl 1.1.0 support would be really nice!

aosaginohi avatar Apr 29 '17 15:04 aosaginohi

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 avatar Nov 19 '17 00:11 27Bslash6

@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.

agentzh avatar Nov 19 '17 00:11 agentzh

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

toohamster avatar Sep 13 '18 03:09 toohamster