On Mon, 11 Aug 2003, Mateus wrote:

> I'm trying to use the function BN_bn2bin to convert a big number and I
> had a segmentation fault inside of it.

Is the to area allocated and big enough to fit the number?

Is the BIGNUM ok? Try printing it with BN_print_fp.

Have you perhaps stomped on some other memory prior to the call? Try 
valgrind or another memory debugger.

Regards
Henrik

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

Reply via email to