Hi,

I had some problems building 0.9.7 on win32 using masm and VC.

I used the "no-ripemd no-ssl2" arguments to mk1mf.pl, and then tried to
make. Apparently some ripemd files were still included in the makefile. To
work around this, I changed mk1mf.pl in line 887 to the following:

  elsif (/^no-ripemd$/) { $no_rmd160=$no_ripemd=1; }

After that everything, compiled right, but then I got linkage problems. The
new ocsp app doesn't handle well the OPENSSL_NO_SSL2. Line 735 reads:

  ctx = SSL_CTX_new(SSLv23_client_method());

This should probably be replaced by:

  #if !defined(OPENSSL_NO_SSL2) && !defined(OPENSSL_NO_SSL3)
     ctx = SSL_CTX_new(SSLv23_client_method());
  #elif !defined(OPENSSL_NO_SSL3)
     ctx = SSL_CTX_new(SSLv3_client_method());
  #elif !defined(OPENSSL_NO_SSL2)
     ctx = SSL_CTX_new(SSLv2_client_method());
  #else
  #error SSL is disabled
  #endif

Cheers.

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

Reply via email to