Compiled on Windows NT4 SP6 with VC++ 6.0.
Compiled with the NO_DSA switch.

When the OpenSSL static lib is linked to the application there is an error
due to "unresolved external symbol......"
The problem is in crypto\pkcs7\pk7_doit.c

Lines 591-592:
  if (si->pkey->type == EVP_PKEY_DSA)
    ctx_tmp.digest=EVP_dss1();
should be changed to:
  #ifndef NO_DSA
    if (si->pkey->type == EVP_PKEY_DSA)
      ctx_tmp.digest=EVP_dss1();
  #endif

.... and line 791:
  if(pkey->type == EVP_PKEY_DSA) mdc_tmp.digest=EVP_dss1();
should be changed to:
  #ifndef NO_DSA
    if(pkey->type == EVP_PKEY_DSA) mdc_tmp.digest=EVP_dss1();
  #endif

Med venlig hilsen / Best regards

Kim Hellan
KMD / KMD-CA
http://www.kmd-ca.dk
Mailto:[EMAIL PROTECTED]

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

Reply via email to