Seams to be a duplicate of https://sourceforge.net/p/mod-csrf/discussion/general/thread/17db72b6d4/
apxs -i -c mod_csrf.c -lcrypt
Gives me:
/usr/share/apr-1.0/build/libtool --mode=compile --tag=disable-static x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -c -o mod_csrf.lo mod_csrf.c && touch mod_csrf.slo libtool: compile: x86_64-linux-gnu-gcc -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -c mod_csrf.c -fPIC -DPIC -o .libs/mod_csrf.o mod_csrf.c: In function ‘csrf_dec64’: mod_csrf.c:449:18: error: storage size of ‘cipher_ctx’ isn’t known 449 | EVP_CIPHER_CTX cipher_ctx; | ^~~~~~~~~~ mod_csrf.c: In function ‘csrf_enc64’: mod_csrf.c:502:18: error: storage size of ‘cipher_ctx’ isn’t known 502 | EVP_CIPHER_CTX cipher_ctx; | ^~~~~~~~~~ apxs:Error: Command failed with rc=65536
Log in to post a comment.
Seams to be a duplicate of https://sourceforge.net/p/mod-csrf/discussion/general/thread/17db72b6d4/
apxs -i -c mod_csrf.c -lcrypt
Gives me:
/usr/share/apr-1.0/build/libtool --mode=compile --tag=disable-static
x86_64-linux-gnu-gcc -prefer-pic -pipe -g -O2 -fstack-protector-strong
-Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2
-DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/apache2
-I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include -c -o
mod_csrf.lo mod_csrf.c && touch mod_csrf.slo
libtool: compile: x86_64-linux-gnu-gcc -pipe -g -O2
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread
-I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0
-I/usr/include -c mod_csrf.c -fPIC -DPIC -o .libs/mod_csrf.o
mod_csrf.c: In function ‘csrf_dec64’:
mod_csrf.c:449:18: error: storage size of ‘cipher_ctx’ isn’t known
449 | EVP_CIPHER_CTX cipher_ctx;
| ^~~~~~~~~~
mod_csrf.c: In function ‘csrf_enc64’:
mod_csrf.c:502:18: error: storage size of ‘cipher_ctx’ isn’t known
502 | EVP_CIPHER_CTX cipher_ctx;
| ^~~~~~~~~~
apxs:Error: Command failed with rc=65536
Last edit: sum41 2024-10-05