Given the coredump stack trace you provide, it looks like
ctx->cipher->do_cipher == NULL, while it should be a valid pointer to
a cypher-specific en/decrypt function (see evp_cipher_st typedef in
evp.h).
Please check with assert() or debugger if this member != NULL before
entering the decrypt function. If, like I assume, it *is* NULL, that
means the INIT went wrong. Since you do not check error codes here (or
cut away that code to shorten the example), I don't know what error
was returned by the ...init_ex() call there.
By the way, what is the value of the 'DECRYPT' define? (last parameter
to your Init_ex()) Should be 0 or 1.

Ger


On Mon, Aug 4, 2008 at 3:06 PM, Ambarish Mitra
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> Platform: Redhat Linux Advanced Server 4.0
> Compiler: g++ 3.3.2     (C++ compiler used)
> Linkage: openssl libraries statically linked with the application 
> program______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to