On Fri, Apr 13, 2007, Florian MANACH wrote:

> Hi,
> 
> I'm trying to create a PKCS7 encryption software and I have some issues 
> doing it.
> 
> My call to the PKCS7_encrypt function leads to a segmentation fault.
> The core dump shows :
> ---------------------------------------------------------------------
> (gdb) where
> #0  0x400b7a0f in EVP_CIPHER_type () from /usr/lib/libcrypto.so.0.9.7
> #1  0x00000017 in ?? ()
> #2  0x40125a08 in ?? () from /usr/lib/libcrypto.so.0.9.7
> #3  0x0809b7f8 in ?? ()
> #4  0x400edf1e in PKCS7_set_cipher () from /usr/lib/libcrypto.so.0.9.7
> #5  0x00000000 in ?? ()
> #6  0x00000000 in ?? ()
> #7  0xbffff2d0 in ?? ()
> #8  0x4000a9c4 in fixup (l=0x809b7f8, reloc_offset=1074897320) at 
> dl-runtime.c:98
> 
> You surely need to know that I'm using OpenSSL 0.9.8d (28 Sep 2006) 
> compiled on Linux Mandrake 10.1.
> 

The debug output suggests it is linked against OpenSSL 0.9.7. Perhaps you are
compiling against the 0.9.8 headers but linking against the 0.9.7 library.

Steve.
--
Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage
OpenSSL project core developer and freelance consultant.
Funding needed! Details on homepage.
Homepage: http://www.drh-consultancy.demon.co.uk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to