May I ask if the compile problem has been solved? We have encountered the same problem such that the build reports the same error when SSL is of 1.1.1. It is fine when SSL is 1.0.2.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I figured out how to patch this according to this post (https://stackoverflow.com/questions/26345175/correct-way-to-free-allocate-the-context-in-the-openssl)
Now I can compile the module but it don't seam to be installed.
Anyways I attached the patched c file maybe you know how to continue with this.
Hi,
I can deploy mod-csrf using below command on RHEL7. RHEL7 has SSL version 1.0.2.
sudo apxs -i -c mod_csrf.c -lcrypto
Now When I tried to deploy it on RHEL 8, It failed with below error. RHEL8 has SSL version 1.1.1k.
Error:
mod_csrf.c:449:18: warning: unused variable ‘cipher_ctx’ [-Wunused-variable]
mod_csrf.c: In function ‘csrf_enc64’:
mod_csrf.c:502:18: error: storage size of ‘cipher_ctx’ isn’t known
EVP_CIPHER_CTX cipher_ctx;
Could you please provide fix for this issue in new package?
Thanks
Hi,
May I ask if the compile problem has been solved? We have encountered the same problem such that the build reports the same error when SSL is of 1.1.1. It is fine when SSL is 1.0.2.
Thanks.
I figured out how to patch this according to this post (https://stackoverflow.com/questions/26345175/correct-way-to-free-allocate-the-context-in-the-openssl)
Now I can compile the module but it don't seam to be installed.
Anyways I attached the patched c file maybe you know how to continue with this.