I'm porting some Solaris code ( that works ) to NT.  The code uses the DSA functions 
from openssl-9.4.  For some reason it's crashing when I try to print the dsa structure 
using DSA_print().
When I comment out the DSA_print() statement everything else works.  Here is the 
relevent section of code:

BIO *bio_err = NULL;
DSA *dsa = NULL;
ERR_load_ERR_strings();
ERR_load_crypto_strings();
bio_err = BIO_new_fp( stderr, BIO_NOCLOSE );

BN_hex2bn( &dsa->pub_key, public_key );
BN_hex2bn( &dsa->p, DSA_P );
BN_hex2bn( &dsa->q, DSA_Q );
BN_hex2bn( &dsa->g, DSA_G );

DSA_print( bio_err, dsa, 0 );     This is what crashes!!!!


Can anyone suggest what might be causing the crash?


Thanks,

Bob.

--
Bob Ollila - [EMAIL PROTECTED]
(603)665-8100, (603)665-8103 fax
TerraLink Technologies - http://www.terralinktech.com
1600 Candia Road, Suite 5, Manchester NH 03109


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

Reply via email to