On Wed, Sep 22, 2010 at 03:41:30PM +0200, Nacho ?lvarez wrote:
> Hello everybody
>
> Several months ago I developed an OpenSSL PKCS#11 engine for Windows XP and
> it worked ok (it was compiled with MinGW).
> Now I'm trying to compile it on Linux (Debian 5 with GCC 4.3.1) but I have
> the next problem:
>
> In the overwritten function *rsa_keygen* (whose signature is *int rsa_keygen
> (RSA *rsa, int bits, BIGNUM *e, BN_GENCB *cb)*) always when the function
> ends (after the return instrucction) System reports me *Segmentation Fault*.
You overwrote you return address on the stack most probably by
accessing a locally declared array out of bounds.
Cheers
Christian
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [email protected]