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

Cannot compile with OpenSSL 1.1.0c #12

Open
NativeDevMan opened this issue Dec 19, 2016 · 6 comments
Open

Cannot compile with OpenSSL 1.1.0c #12

NativeDevMan opened this issue Dec 19, 2016 · 6 comments

Comments

@NativeDevMan
Copy link

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

@NativeDevMan NativeDevMan changed the title Cannot compile width OpenSSL 1.1.0c Cannot compile with OpenSSL 1.1.0c Dec 19, 2016
@agentzh
Copy link
Member

agentzh commented Dec 20, 2016

@pavlusha23 Patches welcome :)

@S4mw1s3
Copy link

S4mw1s3 commented Dec 23, 2016

See my pull request: #13

@aosaginohi
Copy link

openssl 1.1.0 support would be really nice!

@27Bslash6
Copy link

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

@agentzh
Copy link
Member

agentzh commented Nov 19, 2017

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

@toohamster
Copy link

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

jgehrcke added a commit to jgehrcke/dcos that referenced this issue May 16, 2019
Error:

ngx_http_encrypted_session_cipher.c:29:30: error: storage size of 'ctx' isn't known

Also see
openresty/encrypted-session-nginx-module#12
jgehrcke added a commit to jgehrcke/dcos that referenced this issue May 21, 2019
Error:

ngx_http_encrypted_session_cipher.c:29:30: error: storage size of 'ctx' isn't known

Also see
openresty/encrypted-session-nginx-module#12

Also outcomment SSE 4.2 patch after version bump.
Should not apply anymore today, at least we'll see
about it.
jgehrcke added a commit to jgehrcke/dcos that referenced this issue May 23, 2019
Error:

ngx_http_encrypted_session_cipher.c:29:30: error: storage size of 'ctx' isn't known

Also see
openresty/encrypted-session-nginx-module#12

Also outcomment SSE 4.2 patch after version bump.
Should not apply anymore today, at least we'll see
about it.
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

6 participants