I just ran into this while building individual executables in the Win32
environment.  Not sure - but this may affect the unix side as well - haven't
looked. To get the builds of both nmake ms\ntdll.mak and a developer studio
version of all single executables, I (sorry no diff on Win32):

1. In app_rand.c:

replaced
line 112: #include apps.h

with:

#define NON_MAIN
#include "apps.h"
#undef NON_MAIN

This is what is done in apps.c so i assumed it just might work here.

2. In crypto/rand/rand.h
replaced:
line 88: #ifdef WINDOWS

with:

#if defined (WINDOWS) || defined (WIN32)

After doing this both monolith openssl and individual executables built and
passed all tests.

Without digging into it too much so far I'm not sure if this is right, but
it works for me - at least for now.  I'd think it to be pretty important to
support individual executables along with openssl.exe

just my .02
Andrew

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

Reply via email to