httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Klinger <cklin...@novareto.de>
Subject Re: How can i decrypt a cookie in a module
Date Tue, 28 Oct 2008 13:12:26 GMT
>>
>
> The symbol BF_Decrypt is probably to be found in libcrypto from  
> OpenSSL.
>
> When mod_auth_tkt was compiled, it was not linked with that library.  
> So
> either you need to add -lcrypto to the compile command, or you can
> alternatively start Apache with the "LoadFile directive", which will
> cause Apache to load the library so that the symbol can be found at
> runtime.
>
> Peter

Hello Peter,

thanks for the answers, but i don´t get it.

I try to add the Icrypto in my Makefile i get the error again:

g3:/opt/apache/mod_auth_tkt-2.0.0rc3 # make
cd src && make all
make[1]: Entering directory `/opt/apache/mod_auth_tkt-2.0.0rc3/src'
/opt/apache/server/bin/apxs -c -Wc, "-Wall -ansi -g -Wall -ansi - 
pedantic -Wno-implicit-function-declaration -Wno-long-long -Icrypto"  
mod_auth_tkt.c
/opt/apache/server/build/libtool --silent --mode=compile gcc -prefer- 
pic  -DAP_HAVE_DESIGNATED_INITIALIZER -DLINUX=2 -D_REENTRANT - 
D_GNU_SOURCE -g -O2 -pthread -I/opt/apache/server/include  -I/opt/ 
apache/server/include   -I/opt/apache/server/include    -c -o  
mod_auth_tkt.lo mod_auth_tkt.c && touch mod_auth_tkt.slo
/opt/apache/server/build/libtool --silent --mode=link gcc -o  
mod_auth_tkt.la  -rpath /opt/apache/server/modules -module -avoid- 
version    mod_auth_tkt.lo
make[1]: Leaving directory `/opt/apache/mod_auth_tkt-2.0.0rc3/src'
cd doc && make all
make[1]: Entering directory `/opt/apache/mod_auth_tkt-2.0.0rc3/doc'
pod2man --section=3 --release=2.0.0rc3 mod_auth_tkt.pod mod_auth_tkt.3
make[1]: Leaving directory `/opt/apache/mod_auth_tkt-2.0.0rc3/doc'


What file should i include to the LoadFile? Blowfish.h mod_auth_tkt.so?

Sorry i´m a newbie in this stuff.

Christian

>
> -- 
> Contact: admin@opensuse.org (a.k.a. ftpadmin@suse.com)
>         #opensuse-mirrors on freenode.net
> Info: http://en.opensuse.org/Mirror_Infrastructure
>
> SUSE LINUX Products GmbH
> Research & Development


Mime
View raw message