Hi,

I have written an app that encrypts pages on a web server, and a module to decrypt them. The cipher routines are in a number of c++ classes compiled into a library used by other apps, and they appear to work correctly when invoked from the command line. However, when running the apache module, I get a failure from the evp_cipherfinal_ex call:

Error check error:06065064:lib(6):func(101):reason(100).

ie. bad decrypt from evp_cipherfinal

Has anyone any ideas why this fails when running in an apache module but works as expected in a command line environment? An application using the same library runs perfectly when invoked as a cgi executable.

I am using openssl-0.9.7a-40 on a Fedora core 3 box.

Cheers

Pete Martin
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to