ignore this... 
the problem was a result of the DSA_generate_key() not being called

changed 
 if( !dsa && !DSA_generate_key(dsa) )
    {
      printf("Can't generate DSA keys\n");
      return 0;
    }

to

 if( !dsa || !DSA_generate_key(dsa) )
    {
      printf("Can't generate DSA keys\n");
      return 0;
    }

this fixed the problem.

> that got me farther than before, but EVP_SignFinal() dumps core. Maybe
> I am generating the DSA structure incorrectly.  Do you have an example
> that illustrates creation of DSA keys and signing/verifying data using
> the keys?
> 
> thanks again,
> son
> 
> 

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

Reply via email to